Question

Is it possible to tell Visual Studio or Roslyn to execute a specific code script every time I reset the C# Interactive Window from my Project?

For example - I have a form with a Plotter that displays most of the data I am hacking around with. I would like for the Plot to be automatically loaded, and a variable created for it every time I reset the C# Interactive Window from my Project. So, it would need to run the following code every time it resets:

var form = Utilities.InitForm();

I can put this into a .csx file and then invoke the 'load' command in the Interactive Window, but I would like to happen automatically if possible.

Is there any way to do this currently in Roslyn CTP?

Thanks,

Giawa

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top