Frage

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

Keine korrekte Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top