安装程序需要的框架4.0 - 但它已经安装 [英] Setup program needs framework 4.0 - But it's already installed

查看:150
本文介绍了安装程序需要的框架4.0 - 但它已经安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了我现在想安装测试服务。当运行安装程序会提示我下载并安装.NET FW 4.0,但我已经安装了它。我曾尝试只安装,我得到指着(4.0 cliet)的文件,但它不仅还是不行,它会导致VS2010抛出一个未知的错误,无法打开。

I created a service which I now want to install to test. When running the setup program it prompts me to download and install .net fw 4.0, but I already have it installed. I did try to just install the file that I get pointed to (4.0 cliet), but not only does it still not work, it causes vs2010 to throw an unknown error and can't open.

我现在已经卸载的一切,并与VS2010,框架4.0开始重新赢得7,但它仍然会提示我安装FW 4.0当我试图运行安装程序。任何人都可以请点我在正确的方向?

I've now uninstalled everything and started afresh with VS2010, framework 4.0 and win 7 but it still prompts me to install fw 4.0 when I try to run the setup. Can anyone please point me in the right direction?

感谢名单提前 威廉

推荐答案

下面是一些建议:

  1. 我假定你已经重新启动您的计算机;如果不是,这样做,然后重试。
  2. 查看此页面有关验证.NET 4.0的安装。
  3. 在使用IE浏览器,访问 http://whatsmyuseragent.com/ 并确保.NET 4.0所示。
  4. 在VS 2010中,写一个小控制台应用程序,输出 Environment.Version.ToString()。这是.NET CLR版本。从VS 2010外运行这个程序,并确保其工作正常。
  5. 在这一点上的问题是最有可能与用于创建该服务的安装程序。请添加关于它的更多信息。
  1. I assume you have rebooted your machine; if not, do this and try again.
  2. See this page about verifying your .NET 4.0 installation.
  3. Using IE, go to http://whatsmyuseragent.com/ and ensure that .NET 4.0 is shown.
  4. In VS 2010, write a small console app that outputs Environment.Version.ToString(). This is the .NET CLR version. Run this app from outside VS 2010, and ensure it works as expected.
  5. At this point the problem is most likely with the installer used to create the service. Please add more information about it.

这篇关于安装程序需要的框架4.0 - 但它已经安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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