Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
589 views
in Technique[技术] by (71.8m points)

c# - Could not load file or assembly 'Microsoft.VisualStudio.VC.Interfaces

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Disable Lightweight Solution Load

  1. Tools ? Options ? Projects and Solutions ? General

enter image description here

  1. Also disable Lightweight load in the Properties view of the Solution:

enter image description here

  1. Restart Visual Studio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...