Using the Roslyn June 2012 CTP:
Is there a way to provide the Roslyn C# Interactive/REPL with a .config file for the code being explored? A simple example scenario is code which depends on a connection string which it would usually obtain from the app.config/web.config.
There isn't a way to do this right now, though it is something that we're thinking about for the future.
In the meantime, could you factor your code to take the connection string as a parameter, and just pass it into the method in the Interactive Window?
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