microsoft / UnitTestBoilerplateGenerator

An extension for Visual Studio that generates a unit test boilerplate from a given class, setting up mocks for all dependencies. Supports NUnit, Visual Studio Test, Moq and SimpleStubs.
MIT License
158 stars 51 forks source link

Extension v1.9.6 not working in VS 2015 Community #31

Closed binpick closed 6 years ago

binpick commented 6 years ago

Installed product versions

Description

Extension not working any more. Context menu does not show dialog. Options page cannot be displayed.

From the ActivityLog i get the error:

LegacySitePackage failed for package [CreateUnitTestBoilerplateCommandPackage]Source: 'UnitTestBoilerplate' Description: Could not load file or assembly 'Microsoft.VisualStudio.ComponentModelHost, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

I figured out that the missing assembly is related to VS 2017 SDK. So seems that the extension for VS 2015 is referencing an assembly from VS 2017. In VS 2017 the extension is working properly.

RandomEngy commented 6 years ago

Should be fixed with 1.9.8.