为 Win7 和 Win 8 OS 开发 WPF .NET 3.5 应用程序 [英] Developing WPF .NET 3.5 application for Win7 and Win 8 OS

查看:22
本文介绍了为 Win7 和 Win 8 OS 开发 WPF .NET 3.5 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 Win7 和 Win8 操作系统开发 WPF .NET 应用程序.

I am developing WPF .NET application for Win7 and Win8 OS.

目前我使用的是 .NET 3.5 平台,据我所知,Win7 集成了 .Net 3.5,而 Win8 集成了 .Net4.

For now I am using .NET 3.5 platform, as I understood Win7 comes with .Net 3.5 integrated while Win8 comes with .Net4.

我希望用户能够以最少的预安装获得最快的安装.最好的方法是什么?Win8 用户需要安装 .NET 3.5 吗?

I want that the user will have the fastest installation with minimum pre-installations. What is the best way to do it? does the user with Win8 have to install .NET 3.5?

推荐答案

使用 3.5 可以使其在 Win7 中运行,但如果用户没有 Internet 或 DVD,他们将无法在 Windows 8 中安装 .net 3.5.因为您不能在设置中包含 .Net 3.5 文件,所以您遇到了 Win8 用户无法使用您的工具的问题.

Using 3.5 would make it work in Win7, but if the users don't have Internet or a DVD they can't install .net 3.5 in Windows 8. Because you can't include .Net 3.5 files in your setup you run into the isse that Win8 users can't use your tool.

相反,您应该使用 .Net 4.5.2,它也适用于 Windows 7.使用 .net 4.5.x,您可以添加 可重新分发的离线安装程序 到您的应用程序的设置,以便它可以在 Windows 7 和 8 上正常工作.

Instead, you should use .Net 4.5.2 which also works in Windows 7. With .net 4.5.x you can add the redistributable offline Installer to the Setup of your application so that it will work fine on Windows 7 and 8.

这篇关于为 Win7 和 Win 8 OS 开发 WPF .NET 3.5 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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