There's some great tools for converting the old CSPROJ format to the new CSPROJ format, such as this one. The new format supports things like direct references to NuGet packages and other cool stuff.
However, how do you create a brand new project in Visual Studio 2017 or Visual Studio 2019? If I create a .NET library project:
Then this project is created in the old format and has to be upgraded using the tool again. Can anyone shed some light on what projects support the new format vs. the old format?
csproj file tells dotnet how to build the ASP.NET application. It's one of the most important files in an ASP.NET project. An ASP.NET project can depend on third-party libraries developed by other developers. Usually, these libraries are installed as Nuget packages using Nuget package manager.
The new CSPROJ is used by .NET Core and automatically created when creating new .NET Core project.
The trick that I have uses to to create a new style .NET Framework under Rider is (as suggested by a colleague):
I think that this works only under VS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With