nuget - MSBuild: How to add library reference in Visual studio project without build number? -


i faced error, when trying add nuget library reference visual studio project.

in visual studio project reference specified like:

<reference include="mylibrary, version=6.5.4.7, culture=neutral, publickeytoken=7fb9232453a58fc74, processorarchitecture=msil">   <specificversion>false</specificversion>   <hintpath>..\..\packages\mylibrary\mylibrary.dll</hintpath> </reference> 

but, specify mylibrary reference despite build number (last digit), e.g. version=6.5.4.* me, not work, , looking solution.

it case reference specified build number, fails when nuget package updated build agent higher build version.

  1. remove mylibrary nuget package
  2. remove mylibrary dll reference
  3. re-add mylibrary nuget package , let nuget manage mylibrary dll reference on.

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -