views:

121

answers:

2

I installed VS.Net 2010 to play around with some of the new C# features and I'm trying to use the IDynamicObject interface but I can't because it can't find the System.Scripting namespace. What do I need to install to get this?

Thanks!

+1  A: 

I think possibly this has been renamed:

http://msdn.microsoft.com/en-us/library/system.dynamic.idynamicmetaobjectprovider%28VS.100%29.aspx

but perhaps someone more in tune with this knows for sure. Just sharing in case it helps unblock you.

(I know the DLR is in .Net 4.0 and VS2010-Beta2, since they just release matching updates of Iron Python/Ruby that run atop it.)

Brian
I had to build the DLR and install it to get it going but it works. Thank you!
Jon
+1  A: 

You can download the DLR libraries from codeplex. I believe they were supposed to be built into .NET 4.0, I'm not sure why they aren't in VS2010, perhaps they are not in the beta. In any case, I have been using the codeplex libraries for my experimentation, they are supposed to be the same as the .NET 4.0 version (plus some extra hosting features). They also have some reasonably good documentation on how to use it.

Edit: Additionally, you can use the codeplex libraries with VS2008.

Daniel Brotherston