I came across this tool, briefly mentioned on one of the Hansleminutes podcasts:
SnippetCompiler
[
^]
The application allows you to write, compile and run scratch code without the overhead of creating a whole VS project. It has been useful for me on the code project, when I want to make sure the code I provide is good. Prepare to say goodbye to ConsoleApp1, ConsoleApp2,.....,ConsoleApp
n misery!