Y
Y
youngpulse2015-11-02 17:29:34
C++ / C#
youngpulse, 2015-11-02 17:29:34

Why doesn't the library version change in Visual studio?

The application needs to replace one library with a library with an earlier version.
Tell me what I'm doing wrong?)
Let's say the library version 2.0.0.0 is currently used. It is necessary to replace it with the same one, only version 1.0.0.0.
What I do: I remove the old library from Reference. Compiling the project. The compiler swears, errors pop up. I click Clean solution. I save everything. Exit Visual Studio. I even delete the bin and obj folders. I'm back with the project. I click Add Reference. I check the version of the added library before adding it, everything is as it should be 1.0.0.0. I add. But in the properties after adding it remains 2.0.0.0
What am I doing wrong? Please tell me what is the problem
Thanks in advance for your answer :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2015-11-02
@Nipheris

> with a later version,
well, then with an earlier one
> I check the version of the added library before adding
Add from which list? Browse?
Open the folder with the assembly in Explorer and check the version in the properties. If there is 2.0.0.0, then the studio has nothing to do with it.
By the way, is there no such thing in NuGet?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question