[GH-ISSUE #62] NullReferenceException when using TunnelVisionLabs.ReferenceAssemblyAnnotator #55

Closed
opened 2026-02-25 21:30:34 +03:00 by kerem · 0 comments
Owner

Originally created by @smklancher on GitHub (May 10, 2021).
Original GitHub issue: https://github.com/brutaldev/StrongNameSigner/issues/62

Building the attached project produces NullReferenceException: Object reference not set to an instance of an object.
at Brutal.Dev.StrongNameSigner.AutomaticBuildTask.Execute()

Apparently it tries to sign the annotated assemblies referenced by TunnelVisionLabs.ReferenceAssemblyAnnotator, but isn't successful, which leads to SignSingleAssembly returning null. Calling code does note expect or handle a possible null.

NREWithReferenceAssemblyAnnotator.zip

Originally created by @smklancher on GitHub (May 10, 2021). Original GitHub issue: https://github.com/brutaldev/StrongNameSigner/issues/62 Building the attached project produces NullReferenceException: Object reference not set to an instance of an object. at Brutal.Dev.StrongNameSigner.AutomaticBuildTask.Execute() Apparently it tries to sign the annotated assemblies referenced by TunnelVisionLabs.ReferenceAssemblyAnnotator, but isn't successful, which leads to SignSingleAssembly returning null. Calling code does note expect or handle a possible null. [NREWithReferenceAssemblyAnnotator.zip](https://github.com/brutaldev/StrongNameSigner/files/6448671/NREWithReferenceAssemblyAnnotator.zip)
kerem closed this issue 2026-02-25 21:30:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/StrongNameSigner#55
No description provided.