Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<?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 Consolewhich 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

Code Block
languagexml
<ItemGroup>
  <Reference Include="DelftTools.Functions">
    <HintPath>..\..\packages\DeltaShell.Framework.1.0.4.33577\lib\net40\DeltaShell\DelftTools.Functions.dll</HintPath>
    <Private>False</Private>
  </Reference>
</ItemGroup>

csproj

Code Block
languagexml
<ItemGroup>
  <Reference Include="DelftTools.Functions">
    <HintPath>..\..\packages\DeltaShell.Framework.1.0.5.33698\lib\net40\DeltaShell\DelftTools.Functions.dll</HintPath>
    <Private>False</Private>
  </Reference>
</ItemGroup>

packages.config

Code Block
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="DeltaShell.ApplicationPlugin" version="1.0.4.33577" targetFramework="net40" />
  <package id="DeltaShell.Framework" version="1.0.4.33577" targetFramework="net40" />
  <package id="log4net" version="1.2.10" targetFramework="net40" />
  <package id="Mono.Addins" version="1.0" targetFramework="net40" />
  <package id="PostSharp" version="2.1.7.28" targetFramework="net40" />
</packages>

packages.config

Code Block
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="DeltaShell.ApplicationPlugin" version="1.0.45.3357733698" targetFramework="net40" />
  <package id="DeltaShell.Framework" version="1.0.5.33698" targetFramework="net40" />
  <package id="log4net" version="1.2.10" targetFramework="net40" />
  <package id="Mono.Addins" version="1.0" targetFramework="net40" />
  <package id="PostSharp" version="2.1.7.28" targetFramework="net40" />
</packages>

...