如何解决 Visual Studio 2008 compiler could not be created 的错误

来源:互联网 发布:帝国cms 有论坛功能吗 编辑:程序博客网 时间:2024/05/22 16:00

最近在进行Visual Studio 2008 RTM 的内部测试工作,不知道那天一个错误的操作,再打开C# 工程的时候,报出了如下的错误:

---------------------------
Microsoft Visual Studio
---------------------------
Project 'AvalonCSWindowApplication' could not be opened because the Microsoft Visual C# 2008 compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A}' failed.
---------------------------
OK   Cancel  
---------------------------

刚开始以为是Visual Studio 的问题,于是使用命令行:devenv /resetsettings 重设一下Visual Studo 环境。再次打开C# 工程,不行。后来想想也许是机器的问题,重起机器,再打开结果还和原来一样,nnd怎么回事呢,于是上网搜索一下,原来是我在机器上面安装了Sivlerlight runtime,导致了这个错误,哈哈问题找到,赶紧从微软的网站上面下载了最新的Sivlerlight runtime 安装包装上, 一且OK。

此方法也同样适于修复Visual Studio 2008 beta2的错误。
Sivlerlight runtime 最新安装包: http://www.microsoft.com/downloads/details.aspx?FamilyID=b52aeb39-1f10-49a6-85fc-a0a19cac99af&DisplayLang=en 

原创粉丝点击