简体   繁体   中英

Visual Studio 2015 WindowsForms Application could not load file or assembly

I try to start new project and I got this error message

Message

Could not load file or assembly 'Microsoft.VisualStudio.LanguageServices, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Any solution? I tried updating, modifying Visual Studio, changing some code in app.config which I googled, but so far no solution. Wherever I want to open the Form1.cs I got the message. Btw I can shut down VS without a problem, I read some had that problem.

I had the same problem. After a while I've realized that was due to package 'Code Analysis Package' failed to load. I used an advice from " Packages not loading after installing visual studio 2015 RTM " to clear contents of "ComponentModelCache" folder. And that was it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM