@@ -23,14 +23,10 @@ public class WizardImplementation : IWizard
2323 private const string TargetPlatformVersion = "$targetplatformversion$" ;
2424 private const string WizardData = "$wizarddata$" ;
2525 private const string RuntimeDebug = "$rtdebug$" ;
26- private string RuntimeDebugValue = "MultiThreadedDebugDLL" ;
2726 private const string RuntimeRelease = "$rtrelease$" ;
28- private string RuntimeReleasevalue = "MultiThreadedDLL" ;
2927 private const string RunSilent = "$runsilent$" ;
3028 private const string ARM64DebugPlatform = "$arm64debugplatform$" ;
31- private string arm64DebugXMLChunk = $ " <ItemDefinitionGroup Condition=\" '$(Configuration)|$(Platform)'=='Debug|ARM64'\" > <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>ARM64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>{ RuntimeDebugValue } </RuntimeLibrary> <WarningLevel>Level3</WarningLevel> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> </Link> </ItemDefinitionGroup>";
3229 private const string ARM64ReleasePlatform = "$arm64releaseplatform$" ;
33- private string arm64ReleaseXMLChunk = $ " <ItemDefinitionGroup Condition=\" '$(Configuration)|$(Platform)'=='Release|ARM64'\" > <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <PreprocessorDefinitions>ARM64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>{ RuntimeReleasevalue } </RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> </ItemDefinitionGroup>";
3430 private const string ARM64Config = "$arm64config$" ;
3531 private string arm64ConfigXML = "<ProjectConfiguration Include=\" Debug|ARM64\" > <Configuration>Debug</Configuration> <Platform>ARM64</Platform> </ProjectConfiguration> <ProjectConfiguration Include=\" Release|ARM64\" > <Configuration>Release</Configuration> <Platform>ARM64</Platform> </ProjectConfiguration>" ;
3632 private List < Project > projects = new List < Project > ( ) ;
@@ -153,6 +149,8 @@ public void RunStarted(object automationObject,
153149 throw ;
154150 }
155151
152+ string RuntimeDebugValue = "MultiThreadedDebugDLL" ;
153+ string RuntimeReleasevalue = "MultiThreadedDLL" ;
156154 if ( configurationData . IsRuntimeStatic )
157155 {
158156 RuntimeReleasevalue = "MultiThreaded" ;
@@ -164,6 +162,8 @@ public void RunStarted(object automationObject,
164162 RuntimeDebugValue = "MultiThreadedDebugDLL" ;
165163 }
166164
165+ string arm64DebugXMLChunk = $ " <ItemDefinitionGroup Condition=\" '$(Configuration)|$(Platform)'=='Debug|ARM64'\" > <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>ARM64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <RuntimeLibrary>{ RuntimeDebugValue } </RuntimeLibrary> <WarningLevel>Level3</WarningLevel> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> </Link> </ItemDefinitionGroup>";
166+ string arm64ReleaseXMLChunk = $ " <ItemDefinitionGroup Condition=\" '$(Configuration)|$(Platform)'=='Release|ARM64'\" > <ClCompile> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <PreprocessorDefinitions>ARM64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>{ RuntimeReleasevalue } </RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Console</SubSystem> <OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> </ItemDefinitionGroup>";
167167 replacementsDictionary [ RuntimeRelease ] = RuntimeReleasevalue ;
168168 replacementsDictionary [ RuntimeDebug ] = RuntimeDebugValue ;
169169
0 commit comments