46,183 questions
You can achieve this with MS Build. Refer the following article for reference.
https://netitude.bc3tech.net/2014/11/28/auto-update-your-nuget-packages-at-build-time/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a lot of projects, they use different versions of packages, I want to replace the latest package version when the project is released, is there any idea?
This is my compilation script
#!/bin/bash
dotnet restore -s "https://api.nuget.org/v3/index.json" && dotnet publish -c release -o ./publish
I read the documentation and find some helpful commands and parameters, but I know nothing about. Net core
dotnet-add-package
dotnet publish --manifest
You can achieve this with MS Build. Refer the following article for reference.
https://netitude.bc3tech.net/2014/11/28/auto-update-your-nuget-packages-at-build-time/