2016-03-15 76 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帳戶或起始頁消失。