diff options
author | elksson <ialastairhunter@me.com> | 2022-09-23 19:38:18 (GMT) |
---|---|---|
committer | Alastair-Hunter Tyrel (AA-AS/PAE-ENG22) <Tyrel.Alastair-Hunter@us.bosch.com> | 2022-09-23 20:56:02 (GMT) |
commit | 7671d71299bc9078f60f45ad25f53199791cf293 (patch) | |
tree | 4061dce01fa6ed4942331686d2c1f5a80be63022 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 98aef0929f4c5ce7bbf7ce9c2dfc5cad382f5a96 (diff) | |
download | CMake-7671d71299bc9078f60f45ad25f53199791cf293.zip CMake-7671d71299bc9078f60f45ad25f53199791cf293.tar.gz CMake-7671d71299bc9078f60f45ad25f53199791cf293.tar.bz2 |
VS: Fix target output paths in SDK-style projects
Set the `AppendTargetFrameworkToOutputPath` property to `false` so that
MSBuild does not append anything extra to our standard target output
paths. This fixes the `INSTALL` target, among other things.
Fixes: #23989
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 9b40542..44c089e 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -903,6 +903,7 @@ void cmVisualStudio10TargetGenerator::WriteSdkStyleProjectFile( // of the IDE. e1.Element("VCProjectUpgraderObjectName", "NoUpgrade"); e1.Element("ManagedAssembly", "true"); + e1.Element("AppendTargetFrameworkToOutputPath", "false"); cmValue targetFramework = this->GeneratorTarget->GetProperty("DOTNET_TARGET_FRAMEWORK"); |