visual studio 2010 add reference version missing

Posted by Noel on Stack Overflow See other posts from Stack Overflow or by Noel
Published on 2010-04-27T21:07:42Z Indexed on 2010/04/30 16:37 UTC
Read the original article Hit count: 231

Filed under:

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>
   </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?

© Stack Overflow or respective owner

Related posts about visual-studio-2010