From 7671d71299bc9078f60f45ad25f53199791cf293 Mon Sep 17 00:00:00 2001 From: elksson Date: Fri, 23 Sep 2022 15:38:18 -0400 Subject: 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 --- Source/cmVisualStudio10TargetGenerator.cxx | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v0.12