C# Script window similar to LinqPad
I want to be able to write scripts to try out things that I would normally create a console application for. It should be really easy to reference projects from the solution that I have currently open and all editor features should be enabled, such as refactoring and intelisense.
Ideally after I have written code in a script I would then be able to easily move it into one of my projects.
4 comments
-
Anonymous
commented
I love LinqPad.
-
In case you haven't see it yet, you can download a preview of this very feature in the Microsoft "Roslyn" CTP: http://msdn.microsoft.com/roslyn. Once the CTP is installed into Visual Studio 2010 SP1 (with the Visual Studio 2010 SDK SP1), just select View -> Other Windows -> C# Interactive to access the C# Interactive Window.
Thanks,
Dustin Campbell
Visual Studio Program Manager -
Kristian Sølve Ravndal commented
Good news for you: http://channel9.msdn.com/events/BUILD/BUILD2011/TOOL-816T
Skip about 35min into the video :) -
Mark Oueis
commented
This would be very cool and would speed things up a lot especially when prototyping