Winforms VisualStudio中的Powershell窗体

Winforms VisualStudio中的Powershell窗体,winforms,visual-studio,powershell,user-interface,visual-studio-2015,Winforms,Visual Studio,Powershell,User Interface,Visual Studio 2015,我正在visual studio 2015 enterprise中努力使用powershell的GUI 问题是: 我想在VisualStudio中为powershell脚本构建gui。我知道如何在Powershell ISE中执行此操作,但是通过脚本构建表单需要很多时间。我不想为此下载Sapien Powershell Studio或Powershell Studio。此版本具有内置的powershell项目,即:powershell模块项目和powershell脚本项目。但是,一旦选择此类型的

我正在visual studio 2015 enterprise中努力使用powershell的GUI

问题是: 我想在VisualStudio中为powershell脚本构建gui。我知道如何在Powershell ISE中执行此操作,但是通过脚本构建表单需要很多时间。我不想为此下载Sapien Powershell Studio或Powershell Studio。此版本具有内置的powershell项目,即:powershell模块项目和powershell脚本项目。但是,一旦选择此类型的项目,就无法添加windows窗体。我知道这是可能的,只要看看下面youtube上的视频:

正如您在视频中看到的,guy能够将Powershell表单添加到项目中。我不能这样做,因为我唯一的选择是:

Powershell脚本, Powershell测试, Powershell脚本数据文件, Powershell脚本模块

我还要补充一点,我不想为此使用WPF项目


有人知道如何在Visual Stuido中启用Powershell窗体吗?提前谢谢

您将需要以下内容:

[**Visual Studio 2017 (Any edition, Community edition)**][1]

**[PowerShell Tools for Visual Studio 2017][1]** 

来源:

它在他的安装部分,所以很明显他是从某处下载的,但他没有回复6个月前视频上的评论,问同样的问题,机会很小。你能补充更多关于为什么需要这些的信息吗?