0

Can the new PublicSign C# compiler option be used instead of DelaySign? Will it like DelaySign allow later to real sign/Authenticode-sign the assembly?

Are there scenarios where you must revert to DelaySign and can't use PublicSign? I found one scenario is when your project has a <COMReference>, the ResolveComReference task fails because DelaySign is false, but the .snk file doesn't have the private key: https://github.com/Microsoft/msbuild/issues/4317

Kirill Osenkov
  • 8,786
  • 2
  • 33
  • 37
  • "Can the new PublicSign C# compiler option be used instead of DelaySign?" I don't see why not. "Will it like DelaySign allow later to real sign/Authenticode-sign the assembly?" the documentation you linked to says it does. "Are there scenarios where you must revert to DelaySign and can't use PublicSign? " well, you found one, so there are probably others, but open-ended questions as that one aren't on-topic here. – Camilo Terevinto Apr 18 '19 at 23:49
  • Thanks for your response! I couldn't find the place in the documentation where it says that Public Signed assembly reserves space to allow real-signing later? Did I miss it? – Kirill Osenkov Apr 19 '19 at 00:41

0 Answers0