无法创建项目

时间:2018-02-08 16:00:01

标签: visual-studio visual-studio-2015

我正面临Visual Studio 2015的问题。当我点击新项目/添加新文件时,我收到一条错误消息。即使点击几个菜单项,我也会收到此错误。

Error when click on new project

  

设置属性' System.Windows.ResourceDictionary.DeferrableContent'抛出异常。

我甚至得到了更多的错误:

Another error

  

' XamlDesignerPackage'包没有正确加载。

     

问题可能是由配置更改或安装其他扩展程序引起的。您可以通过检查文件' C:\ Users \ MY PC \ AppData \ Roaming \ Microsoft \ VisualStudio \ 14.0 \ ActivityLog.xml'来获取更多信息。

     

重新启动Visual Studio可以帮助解决此问题。

Few settings getting failed

我已经尝试过修复并重新安装(再次卸载并安装)两者都没有任何效果。

这些是在ActivityLog.xml中找到的错误

<entry>
<record>392</record>
<time>2018/02/09 02:11:35.915</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.Windows.DevelopmentKit.Desktop&apos; is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\DESKTOP SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\</path>

<entry>
<record>400</record>
<time>2018/02/09 02:11:47.980</time>
<type>Error</type>
<source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
<description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.Workspaces.Contracts, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. Could not find or load a type. (Exception from HRESULT: 0x80131522)</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\HEXW0BB4.KCG\TMLanguage.dll</path>

<entry>
<record>420</record>
<time>2018/02/09 02:12:00.074</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [ServiceProviderPackage]Source: &apos;GitHub.VisualStudio&apos; Description: Could not load type &apos;GitHub.Services.IUIProvider&apos; from assembly &apos;GitHub.Exports, Version=2.4.2.1331, Culture=neutral, PublicKeyToken=bc1bd09f2901c82e&apos;.&#x000D;&#x000A;System.TypeLoadException: Could not load type &apos;GitHub.Services.IUIProvider&apos; from assembly &apos;GitHub.Exports, Version=2.4.2.1331, Culture=neutral, PublicKeyToken=bc1bd09f2901c82e&apos;.&#x000D;&#x000A;   at GitHub.VisualStudio.ServiceProviderPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass16_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
<guid>{D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53}</guid>
<hr>80131522</hr>
<errorinfo></errorinfo>

还有更多。

0 个答案:

没有答案