简体   繁体   中英

Deploying a .net 4.0 application

I have an application built with .net 4.0 and uses WPF My users have Windows 7 with default .net 3.5 installed.

My application cannot be downgraded to .net 3.5 and I want to avoid users from going through the process of downloading and installing .net 4.0 which is about 40MB (Even with silent install).

Since my application is a small one, is there a way to deploy it with only the required .net 4.0 libraries? and thus avoiding the installation of the entire .net 4.0 framework

If this is not possible, is there a way to execute the .net 4.0 app in a .net 3.5 environment?

If this is not possible, is there a way to execute the .net 4.0 app in a .net 3.5 environment?

No. Basically you really need to get the environments aligned. You say your application cannot be downgraded to .NET 3.5 - presumably that's because you're using something which is specific to .NET 4.0. It stands to reason that you can't then execute that in an environment which doesn't have .NET 4.0.

You need to decide which is more painful - changing your app to target .NET 3.5, or asking your users to install .NET 4.0.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM