Migrating From Windows Compatibility Project To Windows Legacy Compatibility Project

How to migrate from Windows compatibility project to Windows-legacy compatibility project ?

Unfortunately, there are no official steps or tools to migrate from Windows to Windows legacy. This is not supported, and changing the framework in the project .json does not mean migration, since there are also multiple namespaces differences between legacy in windows.



Workaround:

Re-building the project in windows-legacy compatibility changing the framework in the project.json and modifying the namespace errors in the JSON to accommodate the new framework (windows-legacy) could work, but is not supported.

  • Namespaces that are different in Windows - Legacy and Windows projects need to be updated.
  • Namespaces that are used only in Windows - Legacy projects need to be added.

For more information on the deprecation of the Windows-Legacy compatibility mode, read Deprecation of The Windows Legacy Compatability .