I updated my community edition of visual studio 2017 to 15.3.0
and I got this new build error
Build Failure. Error: Could not load file or assembly 'Microsoft.VisualStudio.VC.Interfaces, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ========== Clean: 0 succeeded, 0 failed, 0 skipped ==========
there is no reference error and nothing new on my project except the new VS update.
I am developing an MVC 5 runs under 4.5.1 framework.
There are some workarounds for this issue: The dll file may not be in /bin folder. Just copy the dll file to /bin folder or set this preference Copy Local = True from Visual Studio. If the problem persists, check if the version of the assembly that is referenced is different than the version it is looking for.
This error usually means that the assembly was not found. Try verifying that the file exists in the directory where your application is running.
“An attempt was made to load a program with an incorrect format.” That means that the assembly, which was to be loaded, was in an unexpected format. The format, in this case, refers most likely to the 64-bit build of an application being deployed to IIS, which is being run in 32-bits.
Disable Lightweight Solution Load
Lightweight load
in the Properties view of the Solution:If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With