views:

745

answers:

4

Is there a way to use boo in my msvs? I would like my form to call some boo code instead of C#.

+1  A: 

If by msvs you mean visual studio, you would have to write a language plugin for boo (assuming one does not exist) using the Visual Studio Extendability framework.

Here is such a plugin :

http://www.codinginstinct.com/2008/05/boo-in-visual-studio.html

Jason Coyne
+7  A: 

I'm using Boo to replace an old database-driven clunky rules engine, and it's working great.

Start here: Boo Interactive Interpreter

// One-line Boo interpreter in C#
InteractiveInterpreter2 interpreter = new InteractiveInterpreter2();

If you mean defining your forms and actually coding Boo in VS .NET, look into BooLangStudio.

Chris Doggett
+2  A: 

We've been working on a plug-in for a while, it sorta works but you should really use SharpDevelop or MonoDevelop at this point. The VS plugin might get revitalized since the new VS plugin architecture for VS2010 is so much better but it's really a lot of work and we have all been pretty busy.

justin.m.chase
Good to know. VS2010 is alive. Any changes? ;)
stej
Not yet. No good reason why not though. Just busy.
justin.m.chase
A: 

You can have your Boo script pop-up a source-readable VS debugger by inserting:

System.Diagnostics.Debugger.Launch()

or

System.Diagnostics.Debugger.Break()
Paul McGuire