简体   繁体   English

C#我的应用程序需要哪个.net版本

[英]C# Which .net version does my app require

Sorry if its a stupid question. 抱歉,这是一个愚蠢的问题。 But I just wrote a tiny c# application and want to know which exact version of .net does my application requires . 但是我只是编写了一个小型C#应用程序,想知道我的应用程序需要哪个确切的.net版本。 Is there a way of knowing this , other than to uninstall and reinstalling all the .net versions on my PC. 除了在我的PC上卸载并重新安装所有.net版本之外,还有其他方法可以知道这一点。

my app btw is : http://www.ziddu.com/download/11874881/PerfectUpload.exe.html ( 14kb) 我的应用程序顺便说一句是: http ://www.ziddu.com/download/11874881/PerfectUpload.exe.html(14kb)

Thanks 谢谢

在VS IDE中,右键单击yourProjectName > Properties-> Application-> Target Framework,您很可能会看到框架版本3.5。

此应用程序需要.NET 3.5才能运行,因为它引用了System.Xml.Linq程序集,更具体地说是PostToImgur方法中的XDocument类。

您可以在项目设置中指定所需的.NET版本!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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