简体   繁体   中英

Debug/Start disabled in VS2017 on .NET Core projects

I was try using .NET Core examples with Visual Studio 2017 (1.5.8), all as Admin on Windows 10.

I can't run or debug any .NET Core project, the menu is always disabled and if I hit 'Start'/'Run' it yells to set an already activated start project!

点击“运行”时出错(抱歉,德语)

I think all required libraries are installed:

工作量

After generating any project from templates of console app (.NET Core), class library (.NET Core) or ASP.NET Core, Ctrl-F5/F5 are disabled.

If I use 'Windows Desktop'-console app, debugging/run is allowed.

禁用Ctrl-F5 / F5

Thanks in advance for any suggestion to solve this issue.

PS: Previously this was a Docker related title, but it seems to be a .NET Core Problem.

in addition to the tipp from t-prisar , I clean up my VS installation (see here ), restart the PC, download and install a new VS2017 Community Edition from here and reinstall the Workload (more than 4 GB).

Now I'm able to run the example .NET Core console application. The 'Run'/'Debug' (Ctrl-F5/F5) is already available. Yipeee....

Thanks a lot, the simplest ideas are most the best.... doesn't see the wood for the trees ;-)

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