简体   繁体   中英

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. All the tutorials have as their first step "Select the ASP.NET Server Control template". 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.

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. 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. Expand Visual C# Items, Web, Web Forms, then you'll see Web Forms Server Control.

在此输入图像描述

You have to add a new Windows Forms Application project. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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