...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <configuration> <config> <add key="repositoryPath" value="packages"/> </config> <packageRestore> <add key="enabled" value="True" /> <add key="automatic" value="True" /> </packageRestore> <packageSources> <add key="nuget.org" value="https://www.nuget.org/api/v2/" /> <add key="TeamcityAuth" value="httpshttp://build.deltares.nl/httpAuth/app/nuget/v1/FeedService.svc/" /> <add key="Teamcity" value="httpshttp://build.deltares.nl/guestAuth/app/nuget/v1/FeedService.svc/" /> </packageSources> <activePackageSource> <add key="TeamcityAuth" value="httpshttp://build.deltares.nl/httpAuth/app/nuget/v1/FeedService.svc/" /> </activePackageSource> <packageSourceCredentials> <TeamcityAuth> <add key="Username" value="dscbuildserver" /> <add key="ClearTextPassword" value="[DSCBUILDSERVERPASSWORD]" /> </TeamcityAuth> </packageSourceCredentials> </configuration> |
...
If you have received a message that a new version of the framework has been released, you can manually update your packages in your product by executing some NuGet commands via the NuGet Package Console, which can be found under Tools > NuGet package manager. Do not forget to set your package source to TeamcityAuth.
Code Block |
---|
Update-Package DeltaShell.ApplicationPlugin -Version y.y.y.yyyyy -FileConflictVersionFileConflictAction Overwrite Update-Package DeltaShell.TestProject -Version y.y.y.yyyyy -FileConflictVersionFileConflictAction Overwrite Update-Package DeltaShell.Framework -Version y.y.y.yyyyy -FileConflictVersionFileConflictAction Overwrite |
This will uninstall the old version and then install the new version. You can simply commit the files that have been changed in your projects. You don't have to commit the nuget packages, because we already have auto-restore enabled.
...
Old | New | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
csproj
| csproj
| ||||||||||
packages.config
| packages.config
|
...