Could not load file or assembly Mircrosoft.Scripting"

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)

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 Strong Name Tool (Sn.exe) | Microsoft Learn)

Tomas

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-IronRuby-in-25-Minutes.aspx

Tomas M. 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 Strong Name Tool (Sn.exe) | Microsoft Learn)

Tomas

Thankyou Tomas.

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

Thankyou the problem is solved now