Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value does not fall within the expected range #5

Open
AnthonyTsang opened this issue Aug 27, 2013 · 2 comments
Open

Value does not fall within the expected range #5

AnthonyTsang opened this issue Aug 27, 2013 · 2 comments
Assignees

Comments

@AnthonyTsang
Copy link

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/

@ghost ghost assigned oising Aug 29, 2013
@oising
Copy link
Owner

oising commented Aug 29, 2013

Can you reproduce the error, and then immediately run $e = $error[0]; $e.exception.tostring() and post the output here?

@AnthonyTsang
Copy link
Author

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants