diff options
author | Calum Robinson <calum.robinson@sias.com> | 2024-09-25 15:20:12 (GMT) |
---|---|---|
committer | Calum Robinson <calum.robinson@sias.com> | 2024-09-25 15:20:12 (GMT) |
commit | 55a5094f0e7313b4fb5244091a4d1b7faa48bbf9 (patch) | |
tree | 27bd650307a8595b6d081084e5c5a4387d02a5d2 /Source | |
parent | b1aba2fb4e15d963e857d1c162569b132eb1a220 (diff) | |
download | CMake-55a5094f0e7313b4fb5244091a4d1b7faa48bbf9.zip CMake-55a5094f0e7313b4fb5244091a4d1b7faa48bbf9.tar.gz CMake-55a5094f0e7313b4fb5244091a4d1b7faa48bbf9.tar.bz2 |
VS: Fix missing <Configurations> property for DOTNET_SDK
Fixes #26325
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 71a140b..1e338b2 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -914,6 +914,8 @@ void cmVisualStudio10TargetGenerator::WriteSdkStyleProjectFile( Elem e1(e0, "PropertyGroup"); this->WriteCommonPropertyGroupGlobals(e1); + e1.Element("Configurations", cmJoinStrings(this->Configurations, ";", "")); + e1.Element("EnableDefaultItems", "false"); // Disable the project upgrade prompt that is displayed the first time a // project using an older toolset version is opened in a newer version |