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.
- remove mylibrary nuget package
- remove mylibrary dll reference
- re-add mylibrary nuget package , let nuget manage mylibrary dll reference on.
Comments
Post a Comment