One of our underlying projects is packaged via NuGet and distributed (internally) so that other teams can consume the library – let’s call it “Core.” With NuGet 1.x, we got a reference in our .csproj file that looked something like this:
<Reference Include="Core">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Core.1.4.1.381\lib\net40\Core.dll</HintPath>
After upgrading to NuGet 2.0, this same reference looks like this:
<Reference Include="Core, Version=1.4.1.381, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Core.1.4.1.381\lib\net40\Core.dll</HintPath>
In the Include attribute, does the Version matter? I’m explicitly setting SpecificVersion to false. I’ve looked through the MSBuild Project File Schema Reference, but it didn’t see anything regarding how this attribute is parsed.
Thanks for input on this.
-SethO
I tried under VS2010,
if you specify :
the version under
<Reference></Reference>is ignored.