mirror of
https://github.com/brutaldev/StrongNameSigner.git
synced 2026-04-25 11:26:04 +03:00
[GH-ISSUE #34] Caching problem #28
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 @GieltjE on GitHub (Apr 28, 2017).
Original GitHub issue: https://github.com/brutaldev/StrongNameSigner/issues/34
Originally assigned to: @brutaldev on GitHub.
When getting the AssemblyInfo for a file the result is somehow cached.
Reproduce, start with a signed assembly, run the code below, replace with unsigned assembly run code again (without closing the application):
AssemblyInfo assemblyInfo = SigningHelper.GetAssemblyInfo(file);
if (assemblyInfo.IsSigned) { MessageBox.Show("signed"); }
else { SigningHelper.SignAssembly(....); }
@brutaldev commented on GitHub (Apr 29, 2017):
The assembly details are indeed cached, but it should really be cleared if you run the process from the beginning again. Will make this update and release a new version over the weekend.
@GieltjE commented on GitHub (Apr 29, 2017):
The problem is that our process remains running for weeks at a time (custom build & release tool).
Good to hear there is a patch inbound 👍
@brutaldev commented on GitHub (Apr 30, 2017):
This should be fixed up in release 2.1.2.
The file is hash checked first to ensure the cached version is still pointing to the same file.