Make dll change its version?

I have a strange problem. I got an asp.net mvc 3 application that uses ninject version 2.0, but I want to upgrade it to version 2.2. but every time I delete it and add a new .dll, it keeps saying that I am still using version 2.0. and I do not know why.

I do not know where he gets this number from. I made an empty asp.net mvc application and added a new version, and it says it is version 2.2.

So why does my app keep thinking about everything I give is version 2.0?

Another thing.

He believes the run-time version is v2.0.50727, which has v4.0.30319 in my test application

+3
source share
2 answers

, , , ninject, , , .

0

, . HintPath, .

, .

string location = typeof(TypeInNinjectAssembly).Assembly.Location
+2

All Articles