简体   繁体   中英

C# Interactive - Project References and Settings

With the Visual Studio 2015 Update 1 there now is a C# Interactive tool window built into Visual Studio.

The new tool window is invoked by going to View → Other Windows → C# Interactive.

Is there any way to have the C# Interactive tool load the set of references, app settings, IOC config etc. for a project in the solution?

This only works for .NET Framework projects:

You can context-click a project in your solution explorer and choose "Initialize interactive with project". Then the interactive window will load all references and your project's dll.

It will only load the dlls, no config. You could still do that manually though, aswell as the IOC config, by calling the startup.cs yourself.

This doesn't work for .NET Core or .NET standard projects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM