往返 Visual Studio 个项目但始终使用 "latest" 平台工具集?
Round-Tripping Visual Studio projects but always using the "latest" Platform Toolset?
... Visual Studio supports native
multi-targeting and round-tripping. And we definitely want to shine
more light on it:
Native multi-targeting is the ability of the latest IDE to build using
toolsets installed by previous versions of Visual Studio (VS 2008 and
up).
Round-tripping is the ability of the latest IDE to load projects
created by a previous IDE version without making any changes to the
project assets (VS 2010 projects and up), thus allowing it to load
back in the previous IDE too.
我不清楚是否可以配置一个项目,使其在 VS-2015 中无需转换即可加载 - 因此它仍然可以与 VS-2010 一起使用 - 但它应该使用 VS-2015 ( v140
) VS-2015 中的平台工具集和 v100
VS-2010 中加载的平台工具集。
因为默认情况下项目不包含 <PlatformToolset>
设置它应该工作,对吧?
就我目前的经验而言:是,只需从项目文件中省略 <PlatformToolset>
将导致 Visual Studio 只需使用 其版本的默认值。
... Visual Studio supports native multi-targeting and round-tripping. And we definitely want to shine more light on it:
Native multi-targeting is the ability of the latest IDE to build using toolsets installed by previous versions of Visual Studio (VS 2008 and up).
Round-tripping is the ability of the latest IDE to load projects created by a previous IDE version without making any changes to the project assets (VS 2010 projects and up), thus allowing it to load back in the previous IDE too.
我不清楚是否可以配置一个项目,使其在 VS-2015 中无需转换即可加载 - 因此它仍然可以与 VS-2010 一起使用 - 但它应该使用 VS-2015 ( v140
) VS-2015 中的平台工具集和 v100
VS-2010 中加载的平台工具集。
因为默认情况下项目不包含 <PlatformToolset>
设置它应该工作,对吧?
就我目前的经验而言:是,只需从项目文件中省略 <PlatformToolset>
将导致 Visual Studio 只需使用 其版本的默认值。