解决Silverligth应用程序中的错误 [英] To Resolve Error in Silverligth Application

查看:82
本文介绍了解决Silverligth应用程序中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了所有silverligth必备软件,但是当我启动VS 2008并进入Silverligth项目而不是打开开发环境时,我只是遇到了错误
错误是:
未为工具版本"4.0"指定MSBuildToolpath,定义为HKEY_LOCAL_MACHINE或指定的值评估为空字符串"

谁能告诉我这是什么,我该如何解决

谢谢

我只是卸载了所有componats,silverlight 4的工具包和新安装的silverlight 3,仍然遇到相同的错误:
未为工具版本"4.0"指定MSBuildToolpath,定义为HKEY_LOCAL_MACHINE或指定的值评估为空字符串"

现在我该怎么办???

是的所有朋友,
我知道我必须删除注册表凯.我只是在我的机器上搜索它.但是在哪里找不到我将其删除.因为我是VS 2008的新用户,并且想使用silverligth技术,所以请您从哪里可以知道我要从机器中删除该文件的原因?
谢谢大家:)

I just installed all silverligth prerequisite succesfully but when I start VS 2008 and then Go For Silverligth project insteade of opening the devlopment enviroment I just come across the error
The Error Is:
"MSBuildToolpath is not specified for the Tools Version "4.0"Defined at HKEY_LOCAL_MACHINE or the value specified evaluats to the empty string"

Can anybody tell me What is this and how can I resolve it

Thanku

I Just uninstalled all componats, toolkit for silverlight 4 and newly installed silverlight 3 still i am come across the same ERROR:
"MSBuildToolpath is not specified for the Tools Version "4.0"Defined at HKEY_LOCAL_MACHINE or the value specified evaluats to the empty string"

Now What Can I Do????

Yes All Friends,
I know I have to remove the registry kay.I just search it on my machine. But it is no where found me to remove it. As I am new user of VS 2008 and want to use silverligth technology can you please tell from where I go to search that kay to remove it from machine?????

Thanks you all :)

推荐答案

如果您使用的是VS 2008,则只能使用Silverlight 3.0.

您可能还想看看帖子.
If you are using VS 2008, you can only use Silverlight 3.0.

You might also want to look at this post.


好像您已经下载了Silverlight4.Silverlight4适用于Visual Studio 2010的发行版,而不是2008....
Looks like you have downloaded Silverlight 4. Silverlight 4 works with the release version of Visual Studio 2010, not 2008...


即使您删除了Silverlight 4,也可能您需要删除基础注册表项.基本上,如果我没记错,您需要删除以下键:

Even though you have removed Silverlight 4, it''s possible that you need to remove the underlying registry keys. Basically, if I remember right, you need to remove the following keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\4.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersion\4.0


这篇关于解决Silverligth应用程序中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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