简体   繁体   English

将Visual Studio的Interactive C#与正在运行的进程集成在一起

[英]Integrating a Visual Studio's Interactive C# with a running process

Visual Studio 2015 (Update 1) has a new and awesome feature: REPL based Interactive C# console. Visual Studio 2015(更新1)具有一项令人敬畏的新功能:基于REPL的Interactive C#控制台。 This interactive console is ideal for code prototyping and scripting as it is really easy to use due to it's IntelliSense and other goodies. 这个交互式控制台非常适合代码原型和脚本编写,因为它具有IntelliSense和其他功能,因此非常易于使用。

Now, things could get even better if I could get the interactive console to communicate with a running application of mine. 现在,如果我可以使交互式控制台与我正在运行的应用程序进行通信,情况将会变得更好。 It will be really nice to be able to call a method or change objects properties on the run from the console. 能够在控制台上运行时调用方法或更改对象属性将非常好。

Question: 题:
Does any one has an idea how such a things can be done? 有谁知道如何做这样的事情?

What do you mean with "communicate with a running application of mine"?What do you want to achieve? “与正在运行的我的应用程序进行通信”是什么意思?您想要实现什么?

If you want a standalone C# console you could try LinqPad 如果您想使用独立的C#控制台,可以尝试使用LinqPad

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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