如何在XP上运行C#应用程序 [英] How can I run C# application on XP

查看:339
本文介绍了如何在XP上运行C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在XP上运行C#应用程序?

How can I run C# application on XP?

推荐答案

1)确定它需要哪个.net框架版本。在XP上最新支持的是4.0。

2)下载并安装必要的.net框架

3a)如果没有编译c#program,请用csc编译它>
3b)如果没有编译Visual Studio解决方案,请下载并安装必要的Visual Studio Express(在XP上支持的最高版本是2010)。一般来说,Visual Studio 2013社区版将绰绰有余 - 虽然它的目标是XP,但不能在XP上运行。构建解决方案。

4)运行应用程序。



这就是主意。但是您需要解决其他依赖项。您的项目可能会引用其他库。
1) Determine which .net framework version it needs. On XP the latest supported is 4.0.
2) Download and install necessary .net framework
3a) If "c# program" is not compiled compile it with csc
3b) If it is not compiled a Visual Studio solution, download and install the necessary Visual Studio Express (on XP the highest supported is 2010). In general Visual Studio 2013 Community Edition will be more than enough - altrough it is targeting XP, does not run on XP. Build solution.
4) Run application.

That's the idea. But you have other dependencies you need to resolve. Your project might reference other libraries.


创建安装和部署项目(VS的旧版本:https://msdn.microsoft.com/en-us/library/ms235317(v=vs.90).aspx [ ^ ])或启用InstallShield限量版(VS的更高版本: https://msdn.microsoft.com/en-us/library/ ee942965.aspx [ ^ ])

它将处理.NET版本和依赖项。
Create a "Setup and Deployment" project (older versions of VS: https://msdn.microsoft.com/en-us/library/ms235317(v=vs.90).aspx[^]) or Enable InstallShield Limited edition (later versions of VS: https://msdn.microsoft.com/en-us/library/ee942965.aspx[^])
It will handle the .NET version and dependencies.


这篇关于如何在XP上运行C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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