I tried this for my solution which contains a project that uses CLI/C++ and was hoping to get the dotnet cli to work as well as Visual studio 2022 to build the solution. It gets an error during the restore phase that "Project 'test.csproj' targets 'net8.0-windows'. It cannot be referenced by a project that targets 'native,Version=v0.0'." targeting net8.0 produces the same error.
I tried this for my solution which contains a project that uses CLI/C++ and was hoping to get the dotnet cli to work as well as Visual studio 2022 to build the solution. It gets an error during the restore phase that "Project 'test.csproj' targets 'net8.0-windows'. It cannot be referenced by a project that targets 'native,Version=v0.0'." targeting net8.0 produces the same error.