将dotvvm
扩展名更新为version 1.0.3.3
后,该扩展程序不再有效。
每次启动Visual Studio时都会出现此错误:
LegacySitePackage failed for package [DotvvmPackage]Source: 'mscorlib' Description: Could not load file or assembly 'DotVVM.VS2015Extension, Version=1.0.3.1, Culture=neutral, PublicKeyToken=57a93e56b0609da2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
答案 0 :(得分:0)
当Visual Studio不刷新MEF缓存时,通常会抛出此错误。
解决方法是删除MEF缓存文件夹的内容。
%localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache