Visual Studio 2008安装项目 [英] Visual Studio 2008 Setup project

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

问题描述



我正在使用Visual Studio 2008安装程序项目来部署某些C ++应用程序.该应用程序是由VC ++ 6.0创建的,不需要任何.NET框架.但是,在安装过程中,它要求安装.NET Framework.对于某些难以安装.NET的亚洲客户来说,这是一个问题.知道为什么安装项目不需要.NET而正在安装的应用程序却不需要.NET的任何想法吗?

感谢您的投入,

Alex

Hi,

I am using Visual Studio 2008 Setup project to deploy some C++ application. The application was created by VC++ 6.0 and does not require any .NET framework. However during installation it is asking to install .NET framework. It is a problem with some Asian customers who have difficulty to install .NET. Any idea why Setup project requires .NET while the application being installed does not?

Thanks for any input,

Alex

推荐答案

在安装项目中转到启动条件".
在解决方案资源管理器中选择您的项目,在顶部栏上,它是最右边的图标.

您很可能会看到启动条件".NET Framework".
删除.

警告您只能在没有依赖项的情况下将其删除.
您可以在文件夹"Detected Dependencies"中进行检查.
如果存在"Microsoft .NET Framework"依赖项,则意味着安装程序出于某种原因检测到需要.NET Framework.
如果您确定不需要它,可以尝试刷新依赖项".
右键单击检测到的依赖项",然后单击刷新依赖项"
In the setup project go to the ''Launch Conditions''.
Select your project in the solution explorer and on the top bar it''s the far right icon.

You''ll most likely see the launch condition ''.NET Framework''.
Delete it.

Warning you''ll only be able to delete it if there is no dependency for it.
You can check that in the folder ''Detected Dependencies''.
If the ''Microsoft .NET Framework'' dependency is present it means the setup project has detected that the .NET framework is needed for some reason.
If you are sure it''s not needed you can try to ''refresh dependencies''.
Right click on the ''Detected Dependencies'' and click on ''Refresh dependencies''


这篇关于Visual Studio 2008安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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