When you create your first application in ASP.NET Core in Visual Studio 2017 you can be surprised. It's worth to mention one fundamental change in comparison to the previous version of .NET.
The most striking difference you'll notice is missing packages.config file.
I promise, there's no reason to be worried. Continue reading and you'll get the idea of how Nuget packages are managed in .NET Core projects.
The question you can ask yourself is "where are my Nuget packages defined?" I admit that there's no packages.config file in the project anymore but there's an alternative place.
what is this place? Just look at the .csproj file:
As you can see that there is an
These are the current project dependencies. Now all project configuration (including nuget packages) are defined in one file which I find convenient solution.
Komentarze
Prześlij komentarz