This project is read-only.

Exception comes while using JavaScript.net in VS2012

Aug 30, 2012 at 10:03 AM

When i use JavaScript.net in VS2012, FileLoadException comes:  cannot load file or assembly"“Noesis.Javascript, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ae36d046c7f89f85”. Is here anything wrong with JavaScript.net in VS2012?

Aug 31, 2012 at 12:28 AM

I haven't upgraded yet.  Please look in your Event Viewer for details and post back here.

Aug 31, 2012 at 2:30 AM

 Normal:

"F: \ Demo \ JavaScript_Demo2 \ JavaScript_Demo2 \ bin \ Debug \ Noesis.Javascript.dll" Activation context generation failed. Subordinate assemblies Microsoft.VC90.CRT, processorArchitecture = "amd64", the publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "9.0.30729.6161" could not be found. Please use sxstrace.exe detailed diagnosis.

 Details:

- System
   
- Provider
      [ Name] SideBySide
   
- EventID 33
      [ Qualifiers] 49409
   
  Level 2
   
  Task 0
   
  Keywords 0x80000000000000
   
- TimeCreated
      [ SystemTime] 2012-08-30T08:59:18.000000000Z
   
  EventRecordID 2918
   
  Channel Application
   
  Computer csz-PC
   
  Security
- EventData
    Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.6161"
     
     
     
     
     
     
     
     
     
    F:\Demo\JavaScript_Demo2\JavaScript_Demo2\bin\Debug\Noesis.Javascript.dll
Aug 31, 2012 at 3:29 AM

Problem has been resolved afte vcredist_2008_SP1_MFC_x86.exe setup.

Aug 31, 2012 at 4:54 AM

It should not be necessary to install the libraries manually, because they are included with the javascriptdotnet package.  It looks like you are using the .Net 3.5 version of JavaScriptDotNet.  Is that right?  Did you perhaps copy the Noesis.Javascript.dll but neglect to also copy the other DLLs and manifest?

Sep 5, 2012 at 7:02 AM

The version of JavaScriptDotNet is 3.5 and i've copy all the dlls. It works fine with vs2010. But it doesn't work with vs2012.

Sep 24, 2013 at 4:03 AM
I have the same problem, Noesis.Javascript.dll does not work with VS2012 (reliably)