strongnamer
strongnamer copied to clipboard
System.ArgumentOutOfRangeException: Non-negative number required.
This error happened after I installed Strongnamer on an ASP.NET MVC web application:
Severity Code Description Project File Line Suppression State Error The "StrongNamer.AddStrongName" task failed unexpectedly. System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: count at System.IO.BinaryReader.ReadBytes(Int32 count) at Mono.Cecil.PE.ImageReader.ReadDebugHeader() at Mono.Cecil.PE.ImageReader.ReadImage() at Mono.Cecil.PE.ImageReader.ReadImage(Disposable`1 stream, String file_name) at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) at StrongNamer.AddStrongName.ProcessAssembly(ITaskItem assemblyItem, StrongNameKeyPair key, StrongNamerAssemblyResolver resolver) at StrongNamer.AddStrongName.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() XgApp
Keep in mind that my web app is signed using my own private key.