Click here to Skip to main content
15,939,783 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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
Comments
[no name] 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?
Sergey Alexandrovich Kryukov 10-Oct-12 12:59pm    
No need to do so. Later versions of .NET support earlier versions.
--SA
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: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.
--SA

1 solution

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900