我在創建UWP應用程序時遇到問題。如果我右鍵點擊我的項目解決方案的資源管理器中,我得到以下錯誤在VS2015vs2015在解決方案資源管理器中右鍵單擊項目時出錯
An exception has been occurred while getting the visual studio framework version of the project.
按下OK鍵彈出再次帶來的錯誤窗口。這發生了大約5次,然後出現預期的菜單。
任何想法爲什麼?
事情我都試過了。
- 重新創建項目。
- 修復VS 2015年安裝
- 移動到我的筆記本電腦項目。筆記本電腦 運行VS2017 RC和Windows 10
更新的最新內幕預覽1: 試了一下ezaspi提到的第一個評論,所有從日誌中的錯誤如下所示。
<entry>
<record>523</record>
<time>2016/11/30 16:56:52.502</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.WindowsStore' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\WINDOWS STORE SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.0\METRO SDK\</path>
</entry>
<entry>
<record>524</record>
<time>2016/11/30 16:56:52.502</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.Desktop' 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>
<entry>
<record>525</record>
<time>2016/11/30 16:56:52.502</time>
<type>Error</type>
<source>Extension Manager</source>
<description>Extension will not be loaded because an extension with the same ID 'Microsoft.Windows.DevelopmentKit.WindowsStore' is already loaded at C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\10\WINDOWS STORE SDK\...</description>
<path>C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\WINDOWS STORE SDK\</path>
</entry>
<entry>
<record>166</record>
<time>2016/11/30 16:56:50.340</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 'Microsoft.TeamFoundation.TeamExplorer.Navigation.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.TeamExplorer.Navigation.dll</path>
</entry>
<entry>
<record>167</record>
<time>2016/11/30 16:56:50.344</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 'Microsoft.TeamFoundation.Build.Controls.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.Build.Controls.dll</path>
</entry>
<entry>
<record>168</record>
<time>2016/11/30 16:56:50.349</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 'Microsoft.TeamFoundation.CodeReview.Controls.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.CodeReview.Controls.dll</path>
</entry>
<entry>
<record>169</record>
<time>2016/11/30 16:56:50.381</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 'Microsoft.TeamFoundation.CodeReview.Components.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.CodeReview.Components.dll</path>
</entry>
<entry>
<record>170</record>
<time>2016/11/30 16:56:50.386</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 'Microsoft.TeamFoundation.Git.Provider.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.Git.Provider.dll</path>
</entry>
<entry>
<record>171</record>
<time>2016/11/30 16:56:50.390</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 'Microsoft.TeamFoundation.Git.Controls.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.Git.Controls.dll</path>
</entry>
<entry>
<record>172</record>
<time>2016/11/30 16:56:50.394</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 'Microsoft.VisualStudio.TeamFoundation.Build.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.TeamFoundation.Build.dll</path>
</entry>
<entry>
<record>173</record>
<time>2016/11/30 16:56:50.398</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 'Microsoft.VisualStudio.TeamFoundation.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.TeamFoundation.dll</path>
</entry>
<entry>
<record>174</record>
<time>2016/11/30 16:56:50.402</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 'Microsoft.VisualStudio.ContextManagement.Package.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.ContextManagement.Package.dll</path>
</entry>
<entry>
<record>175</record>
<time>2016/11/30 16:56:50.407</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 'Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll</path>
</entry>
<entry>
<record>176</record>
<time>2016/11/30 16:56:50.411</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 'Microsoft.VisualStudio.TeamFoundation.VersionControl.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.TeamFoundation.VersionControl.dll</path>
</entry>
<entry>
<record>177</record>
<time>2016/11/30 16:56:50.416</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 'Microsoft.TeamFoundation.VersionControl.Controls.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.TeamFoundation.VersionControl.Controls.dll</path>
</entry>
<entry>
<record>178</record>
<time>2016/11/30 16:56:50.420</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 'Microsoft.VisualStudio.Workspaces.Contracts, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\0UHH1GTS.5EQ\TMLanguage.dll</path>
</entry>
<entry>
<record>179</record>
<time>2016/11/30 16:56:50.425</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 'Microsoft.VisualStudio.TeamFoundation.SharePointReporting.dll' or one of its dependencies. The system cannot find the file specified.</description>
<path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\R0KXUUR5.OBE\Microsoft.VisualStudio.TeamFoundation.SharePointReporting.dll</path>
`
您是否嘗試過在啓動時檢查日誌?見例 http://blog.masterdevs.com/debugging-a-visual-studio-crash/ – ezaspi
試過你說什麼,並在上面添加。 – Gaz83