简体   繁体   中英

Creating an ASP.NET Core project

I want to create an Asp.net Core project with Visual Studio 2017 Community but the Solutions explorer says that I have (0 projects).

I tried selecting an empty project, web application, web application (Model-View-Controller) but the Solution explorer still displays (0 projects).

When I go-to Debug I see the "Attach to Process" option. There is no option to start of course since I have no projects.

What could be the issue?

Have you installed everything correctly? To verify this, open a normal cmd and just type 'dotnet'

Only if the command runs, printing out information about how to use dotnet, you're good to go.

Have you installed the correct .NET SDK? What version of it? Make sure the version is compatible with the version of visual studio you have installed.

Follow this link for step by step setup instructions: https://www.c-sharpcorner.com/article/getting-started-with-net-core-on-visual-studio-2017/

This could be the same problem, but I had the same issue during College once but this time I had the support for the web components, so I went back to the installation and repaired it. It downloaded the missing files and it worked again and it took a while.

Let me know if that works or not.

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