简体   繁体   中英

How do I tell what version of .net i am compiling with, and how would I change it?

I'm using VS2010 Premium. I am compiling and running an application locally. When i upload it a hosted server, I'm not seeing the results I am expecting. I think this might be cause my the host not having the same version of .net I have. then are on .Net 2.

How can I tell what version of .Net I am compiling against? How can I change that version to another (in this case .Net 2)?

Thanks,

对于每个项目,在项目属性屏幕的“应用程序”选项卡中,都有一个标记为“目标框架”的下拉列表...

You can also try Solution Properties from VSCommands 2010 extension. It allows you to edit Target Framework, Reference Paths and other settings for all projects from one place (instead of going to properties screen of each project separately):

替代文字

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