I'm modifying the stack size of an assembly using editbin
, see Increase stack size of main program or create a new thread with larger stack size for recursive code blocks?
Now I'm asking myself: Is an assembly signed with a strong name before or after the post-build event? Because editbin
is changing the assembly in the post-build event.
My post build-event looks like that:
"$(DevEnvDir)..\..\VC\bin\editbin.exe" /STACK:16777216 "$(TargetPath)"
And my project .csproj
file contains the following lines:
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\STRONGNAME.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>"$(DevEnvDir)..\..\VC\bin\editbin.exe" /STACK:16777216 "$(TargetPath)"</PostBuildEvent>
</PropertyGroup>