Skip to content

VS: Use .Net SDK-style projects for CSharp

Sumit Bhardwaj requested to merge bhardwajs/cmake:sumitb/dotnet_sdk into master

.Net SDK-style projects simplify the structure of projects for C#. This MR supports .Net SDK-style project by defining a new policy and a new property (DOTNET_SDK). It enables using dotnet build command to build these projects.

Building solution from Visual Studio should succeed as Visual Studio by default fetches nuget packages before building. cmake --build would fail. Please restore the solution manually to get build to succeed. See !6761 (merged) for details.

Issue: #20227
Topic-rename: vs-csharp-dotnet-sdk

Edited by Sumit Bhardwaj

Merge request reports