tags:

views:

443

answers:

3

There are various samples available for how to host Python or Ruby running on the DLR, inside your own AppDomain.

Are you able to do this yet with VB? There have been mentions of this since the DLR was announced 18 months ago, but I can't find a code sample for it.

Maybe with the PDC VS10 CTP? If so, what assembly contains the appropriate subclassed ScriptRuntime for VBx?

If this is not yet possible, can any MSFT-ies give us an update on when we might see some bits?

+2  A: 

There's no release of VB (or C#) that is hostable via the DLR hosting APIs. In general the DLR hosting APIs, and the possibility of getting more MS created languages to support them, are tenatively thought to be post-Dev10. So it won't happen anytime in the short term.

Dino Viehland
So you're saying that hosting in general won't be supported until post-VS10, or hosting of MS-created languages? Or both? Does this mean the current hosting APIs (ScriptRuntime and friends) are going away before .NET 4.0 RTM? I've got so many potential uses for this...
JoshL
A: 

Officially, there's no supported dynamic languages until VS10 is released. At that time, VBx, which apparently will be built on top of the DLR, will be released, probably alongside version 2.0 of the DLR. (Version 1.0's release is immanent.)

You might find some useful stuff in the VS10 CTP, but keep in mind it's neither supported, nor will there be much for documentation at this time. If you're hell-bent on hosting VB in your app, on the DLR, you'll just have to wait a year and a bit.

Chris Charabaruk
A: 

Looks like the VBx project died. There has been no word from Microsoft in years.

Jonathan Allen