我在使用Visual Studio 2010。 我做了一个C#项目,它运行完全在我的电脑上。
问题是这样的,当应用程序运行另一台计算机上,这要求.NET框架。 每个人都没有管理员权限才能安装.NET Framework和人民也不想安装。
我应该遵循什么样的替代弄清楚这个问题? (专为Windows 7)。
解决方案的Windows默认包含一个版本的.NET。这里是他们的列表。
所有包含 .NET V4.6 如果 Windows更新已启用。 (不适用于所有版本的Windows)
部署有部署的几个选项。
检查.NET安装。 (安装像NSIS系统都支持这一点)。 请参见这个获取更多的信息。
如果您要部署移动应用程序,通知用户安装所需的.NET版本。 (容易)
目标.NET 2.0,所有用户都能够运行你的应用程序,因为我觉得没有人使用XP SP1。 (最容易的。我用这个来部署我的。)
I am using Visual Studio 2010. I made a C# project and it runs perfectly on my Computer.
Problem is this that when Application is run on another Computer, that ask for .Net Framework. Everybody doesn't have administrator Access to install .Net Framework and also peoples don't want to install that.
What alternative i should follow to sort out this problem? (Specifically for Windows 7).
解决方案Windows contains a version of .NET by default. Here's a listing of them.
All contains .NET v4.6 if Windows Update is enabled. (Not for all versions of windows)
There are several options of deployment.
Checking for .NET in installation. (Install systems like NSIS support this). See this for more info.
If you want to deploy portable app, notify users to install the required .NET version. (easier)
Target .NET 2.0 and all users are able to run your app since I think nobody is using XP SP1. (easiest. I use this to deploy mine.)