login | about | faq

If you have any feedback from our EAP, we've created a UserVoice forum especially for you! Check it out, and let us know what you think of the latest Early Access build.

Hello,

I am currently evaluating the visual studio reflector. I initially got a message saying refector's version of the assembly is not loaded and I may not be able to debug it. So, I added reference to the regenerated assembly from reflector but then the project would not compile and I got the message as :

Could not load file or assembly 'xyz, Version=4.0.0.0, Culture=neutral, PublicKeyToken=vfsfsfsxxxxx' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Please advise if this obstacle can be overcome and if so, the right sequence of steps that needs to be followed to load reflector's assembly at the right time .

I look forward to your assistance.

asked Feb 11 at 00:25

sam's gravatar image

sam
1


We'll need more information about what you are doing - the type of project for example.

We do Regeneration when you want to debug an assembly that doesn't contain a debugger signature - typically something produced in release mode where the user has changed the default setting of "debug info:" to none, or perhaps as the result of a post processing obfuscation step.

We need to add the debugger signature, but as you see, this invalidates the strong name signature. We get around this by putting the modified assembly in a directory which we add to the DEVPATH - this is treated as part of the GAC in that there is no check on the signature when the assembly is loaded, allowing us to add the debugger signature (so VS can link the generated pdb and the assembly).

answered Feb 13 at 09:17

Clive's gravatar image

Clive ♦♦
1.1k5

Your answer
toggle preview

Follow this question


By Email:

Once you sign in you will be able to subscribe for any updates here


By RSS:

Answers

Answers and Comments

Formatting your answer

  • *Italic*
  • **Bold**
  • ***Bold Italic***
  • Link: [text](http://url.com/ "title")
  • Paragraph: Two line breaks
  • Bulleted list: Paragraph then start line with *
  • Numbered list: Paragraph then start line with 1.
  • Blockquote: Paragraph then start with with >
  • Basic HTML tags are also supported

Asked: Feb 11 at 00:25

Seen: 198 times

Last updated: Feb 13 at 09:17

 

Tags:

×1

Related questions