开发者

visual studio 2010 add reference version missing

开发者 https://www.devze.com 2022-12-28 15:14 出处:网络
In VS2008 when I add a reference to a dll e.g log4Net I get the following in csproj <Reference Include=\"log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchi

In VS2008 when I add a reference to a dll e.g log4Net I get the following in csproj

<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\lib\log4net\log4net.dll</HintPath>
    </Reference>

In VS2010 when I add a reference to a dll for the first time e.g log4Net I get the following in csproj (i.e no version number etc)

  <Reference Include="log4net">
          <HintPath>..\..\lib\log4net\log4net.dll</HintPath>
   <开发者_如何学Go/Reference>

If I remove reference and add a second time the same details as in VS2008 is there (Version etc)

Anyone know why version number etc not present the first time I add a reference and why it is present on secound time reference added?


Both snippets are equal - log4net assembly is not fully qualified

This seems to be a problem with the serialization but don't worry it should work

s

0

精彩评论

暂无评论...
验证码 换一张
取 消