首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Visual Studio中的Powershell窗体

Visual Studio中的Powershell窗体
EN

Stack Overflow用户
提问于 2017-02-08 22:55:11
回答 1查看 1.2K关注 0票数 0

我正在为visual studio 2015企业版中的powershell图形用户界面而苦苦挣扎。

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

https://www.youtube.com/watch?v=q4CsFblKotc&list=UUIrhSHyw-ySF4eQFkt6fQSA&index=10

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

Powershell脚本、Powershell测试、Powershell脚本数据文件、Powershell脚本模块。

我还会补充说,我不想使用WPF项目来做这件事。

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

EN

回答 1

Stack Overflow用户

发布于 2017-07-22 01:38:31

您将需要以下内容:

代码语言:javascript
复制
[**Visual Studio 2017 (Any edition, Community edition)**][1]

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

来源:https://wandering.life/building-windows-forms-powershell-visual-studio-2017/

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42116429

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档