Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Edited Issue: F# Project VS 2012: Update package removes HintPath [2149]

$
0
0
In F# projects in Visual Studio 11 beta and 2012 RC, updating to a newer version of a package strips the HintPath out of the *.fsproj file, which breaks my build server. Every time I update with NuGet, I have to manually fix my project file. This does not happen with C# projects in VS 11/2012, or with F# projects in VS 2010.

Before:
<Reference Include="Newtonsoft.Json">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.4.5.3\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>

After:
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<Private>True</Private>
</Reference>

Then I have to manually fix it to:
<Reference Include="Newtonsoft.Json">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.4.5.4\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>


Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>