简体   繁体   English

VS2015更新2:缺少“使用项目初始化交互”选项

[英]VS2015 update 2: “Initialize Interactive with Project” option missing

According to the Visual Studio 2015 update 2 release notes , it is now possible to initialize the C# interactive environment with the context of a selected project. 根据Visual Studio 2015更新2 发行说明 ,现在可以使用所选项目的上下文初始化C#交互式环境。 This feature is further described in these blog posts . 这些博客 文章中进一步描述了此功能。 However, the "Initialize interactive with project" menu option they talk about and show in screenshots simply isn't present for me (though I do see the related new "Execute in interactive" option when I select code in the editor). 但是,他们谈论并在屏幕截图中显示的“初始化交互式项目”菜单选项根本不适合我(虽然我在编辑器中选择代码时看到相关的新“交互式执行”选项)。

I'm using: 我正在使用:

在此输入图像描述

Any clue what might be wrong? 有什么线索可能有什么问题? Does anyone else see this feature? 有没有人看到这个功能?

Update: Just to prove it's really not there: 更新:只是为了证明它真的不存在:

在此输入图像描述

右键单击您的项目,您将在上下文菜单中看到该选项。

Within the code window Right-Click you will see it there. 在代码窗口中右键单击,您将在那里看到它。 Perform the right click as if you are trying to right click on a function. 执行右键单击,就像您尝试右键单击某个功能一样。 You can execute an entire function. 您可以执行整个功能。

You can actually right click anywhere in the code window. 您实际上可以右键单击代码窗口中的任何位置。

I'm using Visual Studio Community 2015 Update 2, and I can see the expected menu option by right-clicking a console project, so it should be available for you too. 我正在使用Visual Studio Community 2015 Update 2,我可以通过右键单击控制台项目来查看预期的菜单选项,因此它也应该可用。

I just wonder if you can see and use View > Other Windows > C# Interactive 我只是想知道你是否可以看到并使用View> Other Windows> C#Interactive

Maybe if you double check the installed components through the Visual Studio setup and/or do a Repair by Visual Studio setup can bring it back for you. 也许如果您通过Visual Studio安装程序仔细检查已安装的组件和/或通过Visual Studio进行修复安装程序可以为您恢复。

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

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