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

前端 未结 30 2074
名媛妹妹
名媛妹妹 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条回答
  •  萌比男神i
    2020-12-14 14:11

    Make sure you're launching Visual Studio as Administrator.

    1. Right click on the Visual Studio 2015 Shortcut
    2. Select the Shortcut tab
    3. Click on Advanced
    4. Check the box to "Run as administrator" at all times(see below)

    This has resolved the issue for me with the exact error message in question.

    It is not ideal to run the VS in administrator mode at all times. Make sure you un-check the box once your issue has been resolved.

提交回复
热议问题