How to add proper version of DLL to the project?

  • Thread starter Thread starter Andrey Belyakov
  • Start date Start date
A

Andrey Belyakov

Guest
Hello folks,

Have one more strange question for you.

I use a log4net logger tool in my projects.
Packages not used, do update manually.
Tool updated and latest version is 2.0.8.0. Used build with old signing key.
Reference to the DLL in the projects was replaced by removing and adding reference.


Studio 2015 Community did this without any problem and properties window show that proper version added.
But application begin fail on ClickOnce installation.

I review the prroject and find following:

<Reference Include="log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\log4net\v.2.0.8\log4net.dll</HintPath>
</Reference>


I review other projects and find references for 1.2.10.0 version of log4net.
I was not able to replace this reference using Studio 2015 - each time I remove the DLL and add it again a wrong version are scribed in the project file.


Version 1.2.10.0 and version 1.2.12.0 of log4net.dll are in the GAC, but as far as I known this should not affect scripting a reference in the project.


Can anybody tell me how to get proper reference script in the project?


P.S. Studio 2019 Community also installed on the system.





Sincerely, Highly skilled coding monkey.

Continue reading...
 
Back
Top