My colleagues and I have a C# project must be registered with COM using either regasm.exe or RegistrationServices for Excel interop. As a result, the assembly must be signed with a strong name key. A key file was generated through Visual Studio and committed to the source code repository.
Every time a new developer clones the git repository they must either go to the signing tab of the project properties and re-enter the password for the .pfx file or re-enter the password using sn.exe on the command line. Neither is ideal because both require manual steps and verbal communication of the (easy, widely known) password.
We tried delay signing the assembly which allowed the build to proceed but didn't let us register with COM.
Is there a way to do this without forcing everyone to manually update .pfx key files? Thanks!
You don't have to require a password, if you're not worried about someone getting ahold of your .snk and using it for no good. No password, no prompt.