Welcome! Log In Create A New Profile

Advanced

.NET Strong Name problem

Posted by James Joy.pcs.crosspost 
James Joy.pcs.crosspost
.NET Strong Name problem
July 25, 2008 10:22AM
I am trying to use a .NET assembly and can not seem to declare it.

I have tried the following code

Unity is "UnityThirdPartyConnector.connector" dynamic

Unity = new "unitythirdpartyconnector.connector"

and then get the following error:

Error returned by .NET Framework:
System.IO.FileLoadException: Could not load file or assembly 'UnityThirdPartyConnector, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2a18dc93ddc14efc' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'UnityThirdPartyConnector, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2a18dc93ddc14efc' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)

Am I using the wrong code to declare it or is there something wrong with the DLL?

Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: