Partager via


“Could not load file or assembly 'Microsoft.VisualStudio.VCProjectEngine, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f”

When you run Performance Wizard after doing custom VSTS install choosing VB only, a dialog box will pop up with an error message “Could not load file or assembly 'Microsoft.VisualStudio.VCProjectEngine, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5 (Time: 25 minutes)

Resolution: User needs to install manually either C# or C++ or J# feature on the system.

Repro Steps
==========
1. Install VS 2005 Team suite with custom installation and install only Visual Basic.
2. Launch Visual Studio 2005 from Start menu.
3. Create Project -> Choose "Windows Application" form
4. Tools -> Performance Tools -> Performance Wizard
NOTE: choose "Instrumentation" on Specify the profiling method page
5. right-click on name of the application in Performance Explore and select
"Launch"
6. A dialog box will pop up with an error message "Could not load file or assembly 'Microsoft.VisualStudio.VCProjectEngine, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

The problem is the required file Microsoft.VisualStudio.VCProjectEngine is only installed with C++, C# or J# but not VB, yet the feature depending on it requires
that component.

Content by: Soumitra Mondal