删除项目时 Visual Studio 扩展冲突 [英] Visual Studio extension conflict when removing a project

查看:24
本文介绍了删除项目时 Visual Studio 扩展冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我保存解决方案的更改并删除现有项目后,我将收到以下错误消息:

After I save the changes of a solution and then remove an existing project, I'll get the following error message:

The operation could be completed. Not implemented.

然后我启动了 devenv.exe/Log 并且能够重现问题,错误是:

Then I launched devenv.exe /Log and able to reproduce the problem and the errors are:

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\8.0\DESKTOP SDK\
C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\MICROSOFT\WINDOWS KITS\8.1\DESKTOP SDK\

Extension will not be loaded because an extension with the same ID 'Microsoft.WinJS' is already loaded at 
C:\PROGRAM FILES (X86)\MICROSOFT SDKS\WINDOWS\V8.1\EXTENSIONSDKS\MICROSOFT.WINJS.SHARED\VSIX\
C:\PROGRAM FILES (X86)\MICROSOFT SDKS\WINDOWS\V8.0\EXTENSIONSDKS\MICROSOFT.WINJS.SHARED\VSIX\

看起来它正在尝试加载两个不同版本的扩展.我相信它们是 Microsoft Advertising SDK for Windows 8.1Microsoft Advertising SDK for Windows Phone 8.1 但即使我使用 Admin 启动 VS 2012,Uninstall代码> 按钮对我来说是灰色的.我也没有在 Add/Remove Programs 中看到它们.那么我怎样才能摆脱这个错误呢?

It looks like it's trying to load two extensions but with different versions. I believe they are the Microsoft Advertising SDK for Windows 8.1 and Microsoft Advertising SDK for Windows Phone 8.1 but even if I launch VS 2012 with Admin, the Uninstall button is greyed out for me. I don't see them in the Add/Remove Programs either. So how can I get rid of this error?

附注,我同时安装了 VS 2012 和 VS 2013,在安装 VS 2013 后,我不得不对 VS 2012 进行修复.

A side note, I have both VS 2012 and VS 2013 installed and I had to do a repair on VS 2012 after VS 2013 was installed.

推荐答案

我在使用 Microsoft Windows Development Kit 时遇到了同样的问题:每次在 Visual Studio start with description in the%AppData%\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml

I had the same problem with Microsoft Windows Development Kit: two errors every time at Visual Studio start with description in the %AppData%\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml

有时(我认为每次)Visual Studio 更新程序或安装程序(当您尝试安装其他版本的 VS 时)不会删除已安装的 VS 模块版本.

Sometimes (I think every time) Visual Studio Updater or Installer (when you try to install other version of VS) does not remove already installed version of a VS module.

就我而言,我使用了旧版本的第二个 WDK,但安装在新版本之后.我手动卸载了旧版本的 Microsoft Windows 开发工具包,Visual Studio 的问题得到了解决.

In my case I had the second WDK with older version but installed after the newer one. I manually uninstalled the older version of Microsoft Windows Development Kit and problem with Visual Studio was solved.

这篇关于删除项目时 Visual Studio 扩展冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆