n******0 发帖数: 298 | 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! | v******n 发帖数: 421 | 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!
| R**********s 发帖数: 10 | 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!
| c**d 发帖数: 579 | 4 Toolversion is Visual Studio version. Target Framework is the targeted .NET
framework version. |
|