mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
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
This commit is contained in:
committed by
Alastair-Hunter Tyrel (AA-AS/PAE-ENG22)
parent
98aef0929f
commit
7671d71299
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user