Gaz*_*z83 1 visual-studio-2015 uwp
我在创建UWP应用时遇到问题.如果我在解决方案的资源管理器中右键单击我的项目,我会在VS2015中弹出以下错误
An exception has been occurred while getting the visual studio framework version of the project.
按ok键会再次返回错误窗口.这种情况发生了大约5次,然后出现了预期的菜单.
有什么想法吗?
我尝试过的事情.
更新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>
Run Code Online (Sandbox Code Playgroud)
`
我有相同的问题.您不会碰巧使用SyncFusion控件吗?在解决了我的问题并做了一些与你相同的事情(修复.Net,SDK,Visual Studio)后,我再考虑了一下这个错误.虽然它很神秘(并且英语很差"出现异常")但这些都是线索,它可能是你通过扩展安装的任何框架.
我还有另一个线索,这个问题几周前就开始发生了,大约是我将SyncFusion控件更新到最新版本的时候.
所以,我去了工具>扩展和更新.我去了Installed> All并找到了所有的SyncFusion项目(有几个)并将它们全部禁用.禁用它们后,您必须重新启动Visual Studio.在那之后,问题就消失了!
这是现在的解决方法.与此同时,我在这个问题上提供了SyncFusion支持票.当我得到他们的回复时,我肯定会更新这个帖子.同时,我可以尝试每次启用一个,看看哪个确切地导致了问题,尽管它可能是其中的几个.
如果你没有使用SyncFusion,我建议做一些类似的事情,通过你的扩展并禁用你添加的任何东西,从最新的添加开始,特别是如果它们是在你开始遇到问题的同时添加的,直到找到罪魁祸首.
希望这可以帮助!
编辑 - 通过消除(或更好,一次一个地启用每个控件)的过程我发现在我的情况下只有一个SyncFusion控件是罪魁祸首.它是Web转换和迁移.除此之外的所有其他人都已启用且问题未发生.好消息,如果你不需要这个控制,可以将它保持禁用状态.但是,我还将更新SyncFusion.
编辑2 - 我收到了Syncfusion的回复.他们确认并解决了这个问题.因此,如果您不需要该控件,请将其禁用.如果你确实需要它,这里是修复.
2016年12月12日上午1:15:55更新:Kanimozhi Pandian [Syncfusion]
嗨迈克尔,
对带来的麻烦表示抱歉 .
在检测Syncfusion Web转换和迁移扩展不支持的项目的框架版本时发生了此问题.现在,我们已修复此问题,您可以从此处获取更新的Syncfusion Web转换和迁移扩展:
http://www.syncfusion.com/downloads/support/directtrac/168382/ze/Project_Conversion-2034375715
Run Code Online (Sandbox Code Playgroud)
执行以下步骤以重新安装更新的Syncfusion Web转换和迁移扩展.
解压缩下载的zip文件.
从以下位置删除现有的Project Conversion目录.
C:\ Program Files(x86)\ Syncfusion\Essential Studio\14.4.0.15\Utilities\Extensions
现在,将提取的项目转换目录复制到上述位置.然后,执行以下知识库中的步骤,将更新的Syncfusion Web转换和迁移扩展安装到Visual Studio.
https://www.syncfusion.com/kb/4799/how-to-install-the-syncfusion-vsix-packages-manually
Run Code Online (Sandbox Code Playgroud)注意:此问题已得到修复,将包含在我们的Syncfusion 2016 Volume 4 SP1版本中.
此致,
Kanimozhi KP
| 归档时间: |
|
| 查看次数: |
1406 次 |
| 最近记录: |