When you working on an ASP.NET Core project in a CI/CD environment like TeamCity, you might found issues where your project builds successfully in Visual Studio but fails under MSBuild, particularly when it can’t locate common libraries like system libraries. To address this, it’s crucial to understand and know the differences between two commonly used commands for restoring dependencies: ‘dotnet restore’ and ‘nuget restore’. In this documentation, we will let you know the difference between them and how they impact your TeamCity build process.
dotnet restore
nuget restore
dotnet restore
nuget restore
dotnet restore
Pros:
Cons:
nuget restore
Pros:
Cons:
Work with our skilled .Net developers to accelerate your project and boost its performance.
Hire .Net Developers