使用Visual Studio 2012编译和部署.NET Framework 3.5或4.0的项目 [英] Compiling and deploying a project for .net framework 3.5 or 4.0 using Visual Studio 2012

查看:222
本文介绍了使用Visual Studio 2012编译和部署.NET Framework 3.5或4.0的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我有一个已在Visual Studio 2012中完成的项目.当我部署它并需要.net framework 4.0时,将其安装在单独的计算机上时仍需要4.5.我究竟做错了什么?我正在使用msi部署和InstallShield方法进行部署.

Hi everyone! I have a project that has been completed in Visual Studio 2012. When I deploy it and require .net framework 4.0, it still requires 4.5 when it''s installed on a separate computer. What am I doing wrong? I''m using the msi deployment with InstallShield method for deployment.

推荐答案

您需要转到每个项目的属性,然后选择属性"Target Framework".通常位于属性"窗口的应用程序"标签下.

—SA
You need to go to the properties of each project and choose the property "Target Framework". It''s usually goes under "Application" tab of "Properties" window.

—SA


这篇关于使用Visual Studio 2012编译和部署.NET Framework 3.5或4.0的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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