strongnaming
strongnaming copied to clipboard
Value does not fall within the expected range
I am trying to type the commands for the strong name by inputting the commands until "dir -rec *NET.dll | set-strongname -keypair $key -verbose". My file name is end up with the word NET. The console shows a message "Set-StrongName : Value does not fall within the expected range. At line:1 char:35
- dir -rec *NET.dll | set-strongname <<<< -KeyPair $key -force
- CategoryInfo : NotSpecified: (:) [Set-StrongName], ArgumentExceptio n
- FullyQualifiedErrorId : System.ArgumentException,StrongNaming.SetStrongNameCommand"
The library I am trying to import is ImageMagick.NET http://imagemagick.codeplex.com/
Can you reproduce the error, and then immediately run $e = $error[0]; $e.exception.tostring()
and post the output here?
this is the output, thx for response
PM> $e = $error[0]; $e.exception.tostring() System.ArgumentException: Value does not fall within the expected range. at Mono.Cecil.ModuleWriter.WriteModuleTo(ModuleDefinition module, Stream stream, WriterParameters parameters) at Mono.Cecil.ModuleDefinition.Write(Stream stream, WriterParameters parameters) at Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters) at StrongNaming.SetStrongNameCommand.ProcessAssemblyFile(String filePath) at StrongNaming.StrongNameCommandBase.ProcessRecord() at System.Management.Automation.Cmdlet.DoProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord()