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
You can edit the InteractiveHost.rsp file under the VS extension directory to get it loaded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With