mirror of
https://github.com/brutaldev/StrongNameSigner.git
synced 2026-04-25 11:26:04 +03:00
[GH-ISSUE #75] Use NuGet package, but no automatic signing of assemblies #65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MarcelVersteeg on GitHub (Nov 8, 2022).
Original GitHub issue: https://github.com/brutaldev/StrongNameSigner/issues/75
I have created issue #74 before about this. That issue was closed, but even after your response it is still reproducible. I have duplicated my remark to that issue here.
My project file looks like this (kept out unnecessary details):
The target is executed as expected and signs the Vetris.ResourceLib.dll. However, when I look at the build output, there is also another task being executed that seems to try to sign all DLLs in my entire tree. This is what I see in the output (verbosity level "Normal"):
This
StrongNameSignerTargetis the target that is started automatically, and is not explicitly referenced in the project. @brutaldev How can I prevent this target to run?@MarcelVersteeg commented on GitHub (Nov 9, 2022):
I found the solution to this issue myself now. It is not an issue with the package. When adding the NuGet package to the project, exclude the
buildasset from the dependency, by either adding that to the dependency properties, or by editing the project file like this:@brutaldev commented on GitHub (Nov 9, 2022):
@MarcelVersteeg Thanks for the info, I hope this can be helpful to other and I might just add it to the documentation as well.