Click here to Skip to main content
12,898,174 members (67,583 online)
Rate this:
Please Sign up or sign in to vote.
See more: msi Deployment VS2012
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.
Posted 10-Oct-12 5:41am
Wes Aday 10-Oct-12 11:47am
Did you build your program using .NET 4.5?
joshrduncan2012 10-Oct-12 11:48am
I have .net framework 4.5 on my computer that has Visual Studio 2012 on it. Should I remove it and reinstall 3.5 or 4.0?
joshrduncan2012 10-Oct-12 12:19pm
I don't think that Visual Studio 2012 works with anything but 4.5. I'm gonna have to revert back to Visual Studio 2010. :(
Sergey Alexandrovich Kryukov 10-Oct-12 12:56pm
How exactly do you "require .NET Framework 4.0"?
Sergey Alexandrovich Kryukov 10-Oct-12 12:58pm
I don't think telling lies can excused by the fact you simply did not look properly. Visual Studio 2012 works with multiple assembly targets; and this feature was introduced with VS 2008.
joshrduncan2012 10-Oct-12 12:58pm
In the InstallShield deployment (Setup and Deployment / msi) set the setting to .NET Framework 4.0 for pre-reqs. When I attempt to install it on my boss's computer, it still asks for 4.5 even though 4.5 is not a pre-req.
Sergey Alexandrovich Kryukov 10-Oct-12 12:59pm
No need to do so. Later versions of .NET support earlier versions.
Sergey Alexandrovich Kryukov 10-Oct-12 13:00pm
I don't understand. I don't see where you "required" some target.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100