2016-03-15 75 views
0

当我在Visual Studio 2015中预览其中一个MVC视图的代码时,出现错误弹出窗口。在Visual Studio 2015中预览MVC视图时出错

它说

的 'Microsoft数据转换服务设计' 一揽子正确没有 负荷。

问题可能是由配置更改或安装其他扩展引起的。您可以通过 查看更多信息ActivityLog.xml

我已经尝试重新安装Visual Studio,这没有什么区别。我也尝试过查看不同的MVC项目,他们都显示这个错误。

任何人有任何想法来解决这个错误。我的项目建立良好,所以我可以忽略它,但我不希望如果可能。

UPDATE

这是ActivityLog.xml

内容
<type>Error</type> 
    <source>VisualStudio</source> 
    <description>CreateInstance failed for package [Microsoft Data Transformation Services Designer][Could not load file or assembly &apos;Microsoft.DataTransformationServices.VsIntegration&apos; or one of its dependencies. The system cannot find the file specified.]:{ at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)&#x000D;&#x000A; at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(String assemblyName, String typeName)&#x000D;&#x000A; at System.AppDomain.CreateInstance(String assemblyName, String typeName)}</description> 
+0

您是否尝试阅读ActivityLog.xml文件? – danludwig

+0

请尝试像这样[在此处输入链接描述](http://stackoverflow.com/questions/17574089/microsoft-visual-studio-package-did-not-loaded#answer-23646013) –

回答

0

也许这有助于恢复VS,从下列文件夹删除的内容:

C:\用户{}用户\ AppData \ Local \ Microsoft \ VisualStudio

C:\ Users {user} \ AppData \ Local \ Microsoft \ VSCommon

有时候,你需要去:

[64] C:\ Program Files文件(x86)的\微软的Visual Studio 14.0 \ Common7 \ IDE

[86] C:\ Program Files文件\微软的Visual Studio 14.0 \ Common7 \ IDE

并运行devenv /resetuserdata

预计,您的所有用户设置,如Visual Studio布局,链接的Microsoft帐户或起始页消失。