Strong Name signing C++/CLI assemblies
See original GitHub issueI’m trying to puzzle out how to enable strong-name signing in C++/CLI projects.
The tentative approach I’m using looks like this (assume that ManagedCxx
is defined appropriately):
<ItemDefinitionGroup>
<Link>
<AdditionalOptions Condition="'$(ManagedCxx)'=='true'">%(AdditionalOptions) /keyfile:$(AssemblyOriginatorKeyFile) /delaysign</AdditionalOptions>
<Link>
</ItemDefinitionGroup>
- Is this a reasonable approach?
- Can I depend on
AssemblyOriginatorKeyFile
property to exist and remain supported in the future as the way to discover the path to the key file?
This all assumes, of course, that signtool will eventually re-sign these same binaries again after it has been packaged.
cc @stevenbrix, @miguep, @rladuca, @danzil
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to: Sign an assembly with a strong name | ...
This article shows you how to sign a .NET assembly with a strong name by using the Signing tab, the Assembly Linker, assembly...
Read more >Strong Name Assemblies (Assembly Signing) (C++/CLI)
This topic discusses how you can sign your assembly, often referred to as giving your assembly a strong name.
Read more >Should each project being signed with a separate Strong ...
The purpose of strong named assemblies is to be able to differentiate among versions of the same assembly, not to determine the creator...
Read more >Sign strong name assemblies with SignTool
A strong name consists of the assembly's simple text name, version number, and culture information (if provided), a public key and, a digital...
Read more >Strong named assemblies — To sign or not to sign?
Strong named assembly can only reference other strong named assemblies ... According to Microsoft, you should strong sign your dlls [link].
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@JohnTortugo - has this been sorted already?
Thanks @vatsan-madhavan