nuget.exe update drops the assembly strong name and Private attribute. (original) (raw)
nuget.exe update drops the assembly strong name and <Private> attribute.
This is not a regression from 2.8.6.
Steps
- Create a new C# console app
- Install-Package newtonsoft.json -version 6.0.4
- Save and close the solution
- nuget.3.3.0.exe update .\packages.config -Safe
From VS:
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>From nuget.exe:
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\newtonsoft.json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>