Quantcast
Channel: Microsoft "Roslyn" CTP forum
Viewing all articles
Browse latest Browse all 504

Editing .csx files belonging to a project should assume "ResetC#InteractiveFromProject" context

$
0
0

You are probably already thinking about this but I'll throw in my $0.02.

I have made a Scripts folder in my class library project where I keep work-in-progress code that is not ready to become a permanent class of the project. Right now in the editor, these .csx files are a sea of red underlines because the editor doesn't know the execution context for the code.

Is it possible to have the editor treat the code as running in the project's execution context (i.e. the context obtained from "Reset C# Interactive From Project")?

Alternatively, is there a way we can specify this context at the top of the .csx file?

Thanks,

Drew


Viewing all articles
Browse latest Browse all 504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>