To Migrate C++/CLI Projects

Reference documents:

To modify a .vcxproj file

  1. Add <TargetFramework>net8.0-windows</TargetFramework>.
    Note: For TargetFramework, use net8.0 if there is not a specific Windows dependency.
  2. Change <CLRSupport>true</CLRSupport> to <CLRSupport>NetCore</CLRSupport> for Release and Debug.
  3. Remove all .NET Framework references (such as System, System.Core, and System.Data).
  4. Then, rebuild only the project in Visual Studio.