|
|
@ -103,8 +103,10 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<PropertyGroup> |
|
|
|
<VCBasePath>$(MSBuildToolsPath)\..\..\..\VC\</VCBasePath> |
|
|
|
<VCToolsVersionPropsFileNameDefault>Microsoft.VCToolsVersion.default.props</VCToolsVersionPropsFileNameDefault> |
|
|
|
<VCBasePath>$(MSBuildToolsPath)\..\..\..\VC\</VCBasePath> |
|
|
|
<!-- In VS 2022 there is an extra directory level that's why we need to add one more '..' --> |
|
|
|
<VCBasePath Condition="!Exists('$(VCBasePath)Auxiliary\Build\$(VCToolsVersionPropsFileNameDefault)')">$(MSBuildToolsPath)\..\..\..\..\VC\</VCBasePath> |
|
|
|
<VCToolsVersionPropsFile>$(VCBasePath)Auxiliary\Build\$(VCToolsVersionPropsFileNameDefault)</VCToolsVersionPropsFile> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
@ -126,7 +128,6 @@ |
|
|
|
</Target> |
|
|
|
|
|
|
|
<Target Name="ApplyStackExtension" AfterTargets="PostBuildEvent" Condition="'$(VCToolsVersion)'!=''"> |
|
|
|
<Exec Command=""$(VCBasePath)Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64\editbin.exe" /stack:16777216 "$(TargetPath)"
EXIT 0" /> |
|
|
|
<Exec Command=""$(TargetFrameworkSDKToolsDirectory)sn.exe" -R "$(TargetPath)" "$(AssemblyOriginatorKeyFile)"" /> |
|
|
|
<Exec Command=""$(VCBasePath)Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64\editbin.exe" /stack:16777216 "$(TargetDir)$(TargetName).exe"
EXIT 0" /> |
|
|
|
</Target> |
|
|
|
</Project> |