Forum: IronRuby Could not load file or assembly Mircrosoft.Scripting"

Posted by kavin_2010 IronRubyuser (kavitha)
on 2010-08-25 14:02
Even after googling I could not solve the below problem when I try to
run ruby script from C# .NET using VS2010. Please help

Could not load file or assembly 'Microsoft.Scripting, Version=0.9.6.20,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
dependencies. Strong name validation failed. (Exception from HRESULT:
0x8013141A)
Posted by Tomas Matousek (Guest)
on 2010-09-02 02:34
(Received via mailing list)
What IronRuby binaries do you use? Did you install 1.0 using 
IronRuby.msi?

The error means that Microsoft.Scripting assembly is delay-signed and 
you didn't suppress strong name validation via sn -Vr *,31bf3856ad364e35 
(see http://msdn.microsoft.com/en-us/library/k5b5tt23(VS.80).aspx)

Tomas
Posted by kavin_2010 IronRubyuser (kavitha)
on 2010-09-06 11:45
kavin navin wrote:
> Even after googling I could not solve the below problem when I try to
> run ruby script from C# .NET using VS2010. Please help
> 
> Could not load file or assembly 'Microsoft.Scripting, Version=0.9.6.20,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
> dependencies. Strong name validation failed. (Exception from HRESULT:
> 0x8013141A)

I could successfully compile now, after I downloaded the dll's again 
from the
website mentioned below

http://www.ironshay.com/post/Starting-Using-IronRu...
Posted by kavin_2010 IronRubyuser (kavitha)
on 2010-09-06 11:47
Tomas Matousek wrote:
> What IronRuby binaries do you use? Did you install 1.0 using 
> IronRuby.msi?
> 
> The error means that Microsoft.Scripting assembly is delay-signed and 
> you didn't suppress strong name validation via sn -Vr *,31bf3856ad364e35 
> (see http://msdn.microsoft.com/en-us/library/k5b5tt23(VS.80).aspx)
> 
> Tomas

Thankyou Tomas.

Yes I did install Iron Ruby 1.0 using IronRuby.msi.

Thankyou the problem is solved now
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.