Unable to start debugging. The startup project could not be launched. VS2015

前端 未结 30 1898
名媛妹妹
名媛妹妹 2020-12-14 13:27

I have started a new console project in VS2015. I only have this code :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text         


        
相关标签:
30条回答
  • 2020-12-14 14:18

    I was also stuck with this. I removed both bin & obj folders, did a rebuild, and then it launched.

    A very meaningless error....

    0 讨论(0)
  • 2020-12-14 14:18

    How I fixed my issue, I closed project that had that error , created new project build new project then opened the project that had an issue and build it. That worked for me.

    0 讨论(0)
  • I stop debugging and exit the projects from IIS Express then clean and build the project and my error is gone.

    0 讨论(0)
  • 2020-12-14 14:20

    Make sure you close all instances of Visual Studio and then restart as Administrator. In my case I had multiple instances of Visual Studio open and I had to close them all and then restart Visual Studio as admin in order to get things working.

    0 讨论(0)
  • 2020-12-14 14:21

    This issue happened to me with the Latest VS2019.
    I've tried everything here, but unfortunately without any result.

    Finally, I've restarted the IIS server, also manually Recycled the "Default Application Pool".
    After debugging issue fixed.

    0 讨论(0)
  • 2020-12-14 14:22

    Had this on a brand new scaffolded ASP.NET Core 1.0 web application.

    Solved with restart of Visual Studio.

    0 讨论(0)
提交回复
热议问题