Redian新闻
>
What's the difference between ToolsVersion and Target Framework?
avatar
What's the difference between ToolsVersion and Target Framework?# DotNet - 窗口里的风景
n*0
1
In the visual studio's project file, there is an attribute 'ToolsVersion'
for the 'project' element. I set it as '4.0'. In the project's properties
window, I set the 'Target Framework' as '3.5'. When I try to build the
project, I found it built with framework 3.5. Then what does the
ToolsVersion attribute do?? Thanks!
avatar
v*n
2
I think toolsversion == the version of toolset that you are using to develop
and buid, while the target framework == the FX on which your program runs.
For example, you can install vs2010/FX4.0 and target FX 2.0/3.5. the built
program can be deployed to machines with only 2.0/3.5 installed.

【在 n******0 的大作中提到】
: In the visual studio's project file, there is an attribute 'ToolsVersion'
: for the 'project' element. I set it as '4.0'. In the project's properties
: window, I set the 'Target Framework' as '3.5'. When I try to build the
: project, I found it built with framework 3.5. Then what does the
: ToolsVersion attribute do?? Thanks!

avatar
R*s
3
支持vista吗

【在 n******0 的大作中提到】
: In the visual studio's project file, there is an attribute 'ToolsVersion'
: for the 'project' element. I set it as '4.0'. In the project's properties
: window, I set the 'Target Framework' as '3.5'. When I try to build the
: project, I found it built with framework 3.5. Then what does the
: ToolsVersion attribute do?? Thanks!

avatar
c*d
4
Toolversion is Visual Studio version. Target Framework is the targeted .NET
framework version.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。