简体   繁体   English

ASP.NET Server Control模板是否应存在于Visual Studio 2015社区版中?

[英]should the ASP.NET Server Control template exist in Visual Studio 2015 community edition?

I am trying to build a custom ASP.NET server control, but I am failing at the first hurdle. 我正在尝试构建一个自定义的ASP.NET服务器控件,但我在第一个障碍时失败了。 All the tutorials have as their first step "Select the ASP.NET Server Control template". 所有教程的第一步都是“选择ASP.NET服务器控件模板”。 My install of studio does not have that template. 我安装的工作室没有该模板。 (VS 2015 community edition) Ive tried several machines, with windows 7 to 10, and still no template. (VS 2015社区版)我已经尝试了几台机器,Windows 7到10,仍然没有模板。

Is this a matter of the template not being part of this edition, the template no longer being available, or something else that I am missing? 这是模板不属于此版本的问题,模板不再可用,还是我遗漏的其他内容?

You're at the New Project screen. 您正处于“新建项目”屏幕。 But ASP.NET Server Control isn't a project. 但是ASP.NET Server Control不是一个项目。 You need to create a project (a class library or web application) and then right click your project in the Solution Explorer and expand Add, then click New Item. 您需要创建一个项目(类库或Web应用程序),然后在解决方案资源管理器中右键单击您的项目,然后展开“添加”,再单击“新建项”。 Expand Visual C# Items, Web, Web Forms, then you'll see Web Forms Server Control. 展开Visual C#Items,Web,Web窗体,然后您将看到Web窗体服务器控件。

在此输入图像描述

You have to add a new Windows Forms Application project. 您必须添加新的Windows窗体应用程序项目。 Right click the project and select the new item. 右键单击项目并选择新项目。 Once selected, a pop-up window will appear. 选择后,将出现一个弹出窗口。 Click Web and you can see the Web Forms Server Control. 单击Web,您可以看到Web窗体服务器控件。

暂无
暂无

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

相关问题 如何从 Visual Studio 2015 社区版打开新的“ASP.NET Web 应用程序”? - How to open new "ASP.NET Web Application" from visual studio 2015 community edition? Visual Studio 2015社区版在启动时崩溃 - Visual Studio 2015 community edition crashes at startup Visual Studio社区2017-ASP.Net Web应用程序(.NET Framework)模板已损坏? - Visual Studio Community 2017 - ASP.Net Web Application (.NET Framework) Template broken? 无法在设计器视图中的 ASP.NET Web Forms (C#) 的 Visual Studio Community Edition 2022 中拖放或编辑工具箱元素 - Unable to drag and drop or edit toolbox elements in Visual Studio Community Edition 2022 for ASP.NET Web Forms (C#) in Designer View Visual Studio 2015 Community Edition无法下载新许可证 - Visual Studio 2015 Community Edition failed to download new license 如何为Visual Studio 2015 Community Edition使用Type.GetTypeFromProgID() - How to use Type.GetTypeFromProgID() for Visual Studio 2015 Community Edition 安装Visual Studio 2015社区版后的几个问题 - Few issues after installing Visual Studio 2015 Community edition 在Visual Studio 2015更新3中缺少“ASP.NET核心Web应用程序(.NET核心)”模板? - missing “ASP.NET Core Web Application (.NET Core)” template in Visual studio 2015 update 3? CS0246 visual studio Community Edition 2015 缺少参考资料? - CS0246 visual studio community edition 2015 missing reference? 如何使用Visual Studio 2015连接到ASP.NET中的本地SQL Server数据库? - How to connect to a local SQL Server database in ASP.NET using Visual Studio 2015?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM