-1

I have this package, Microsoft.AspNet.Web.Optimization, that uses Antlr3.

Once i installed it, Antlr3 came in version 3.4.1.9004.

After that i was checking my installed packages for updates and, by mistake, i updated the Antlr3 to 3.5.0.2. Now, even if i remove all of it, all the packages and reinstall the Microsoft.AspNet.Web.Optimization i still get an error screen because it's referring to the newer version of Antlr3 instead of the old one.

I already tried several other things but nothings seems to solve the problem.

Where can i remove the reference ?

My main error is this one:

Could not load file or assembly 'Antlr3.Runtime' or one of its dependencies. The assembly's manifest definition does not match the located assembly reference. (Exception from HRESULT: 0x80131040)

7
  • Did you try a Build->Clean and then a Build->Rebuild on the solution? Commented Apr 22, 2015 at 19:36
  • Yeah, already tried that, also tried remove all the package using prompt and by NuGet Package Control Commented Apr 22, 2015 at 19:36
  • Since you tried things... Can you post fusion log so it is clear which reference is actually causing problems? Commented Apr 22, 2015 at 19:51
  • 1
    have you tried binding redirect in config msdn.microsoft.com/en-us/library/7wd6ex19%28v=vs.110%29.aspx Commented Apr 22, 2015 at 19:56
  • 1
    There many step-by-step guides... bing.com/search?q=how+can+i+get+the+fusion+log should give you at least some (ignoring Ford Fusion). Commented Apr 22, 2015 at 20:33

1 Answer 1

0

I managed to fix it by binding it on web.config, changing the version to the one i wanted.

After that i tried removing everything from the project, close VS, remove dll's and add one at a time, it also worked.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.