Could not load file or assembly 'Noesis.Javascript' or one of its dependencies.

Jun 30, 2011 at 10:19 AM

Hi guys, please help me. I'm attempting to use the noesis javascript dll in a webapplication, and I'm getting this exception everywhere:
Could not load file or assembly 'Noesis.Javascript' 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)

Could anyone tell me how can I use Javascript.net in a webapplicaiton?

Developer
Jun 30, 2011 at 1:59 PM

My guess is that you do not have Visual Studio 2010, the C++ language installed. Right ?

Noesis comes with 2 MVC*.dll, make sure they are in the folder bin\debug.
 
if this works, you could install Visual Studio 2010, the C++ languague, or Visual Studio Express C++ 2010, or

 

Microsoft Visual C++ 2010 Redistributable Package (x86)

 

http://www.microsoft.com/download/en/details.aspx?id=5555

Jul 10, 2011 at 4:10 PM

To fredericaltorres 

Thanks for your reply. In fact these two files have been installed on my computer. Finally I solved the problem via rebuilding souce code without the snk file, and no exception was thrown any more.

Aug 9, 2011 at 4:33 PM

I have the same problem though I do have VC++ installed. I can run a service or a console application with Noesis.Javascript assembly, but not my unit test dll.

What are my options apart from signing it myself?