Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations

Hi,

I've used my profiler many times before but am running it on a site now for the first time and am getting:
[C:\Users\User\AppData\Local\Temp\Temporary ASP.NET Files\root\c147b170\7e4b9eb0\assembly\dl3\54503d97\00afb3f3_86d0d201\GMaps.dll] Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.

The site is a .net webforms site and from what I can see the erroring is occuring because of this line in a user control
<%@ Register Assembly="GMaps" Namespace="Subgurim.Controles" TagPrefix="cc1" %>

Is there an easy/simple way to get around this as I've not seen before and am hoping not to spend too much time trying to sort out!

The site runs fine when not being profiled.

Any ideas?

Simon
Tagged:

Comments

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Thanks for your post and so sorry to hear you're running into an issue!

    Because this error comes up only when profiling, it sounds like it is likely due to the instrumentation done by the profiler. However, it is a bit odd as I wouldn't expect it could cause that particular error.

    Just to confirm though--are you profiling using one of the "Line level" profiling modes? If you use Method level timings or Sampling, does the error still occur?

    If it does, can I please check:
    - If you run the application normally and then profile by attaching to process, does it run into any similar errors?
    - Do you have the source code for GMaps.dll or is this a third party assembly? Is it strong name signed?
    - If the error message provides a stack trace, can you please send this across?

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.