Visual studio commands don't work. ctrl + f5 doesn't run my application

前端 未结 10 1174
無奈伤痛
無奈伤痛 2020-12-29 19:43

I used to be able to build and run my console applications by hitting Ctrl + F5 in visual studio. This no longer works. I looked everywhere. Does anyon

相关标签:
10条回答
  • 2020-12-29 20:21

    This keyboard shortcut is set by default in os x, you need to disable it to use ctrl+F5. Have a look at http://www.daniellewis.me.uk/2015/07/01/ctrl-f5-not-working-in-a-windows-vm-running-on-parallels/ to fix. I can run without debugging now in my VM.

    0 讨论(0)
  • 2020-12-29 20:24

    I had a similar problem with Alt+F7 (Find Usages in Resharper). Turns out the GeForce Experience was taking the shortcut for it's Sharing functionality. Uninstalled GE and all is good.

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

    I fixed this by pressing Fn + F5, this is right next to the Windows Button.

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

    It happend to me something similar, but only with one project, and the others running right with CTRL + F5, so i will post here my problem and solution because it could help people searching for the same problem, as i was :)

    I was opening in Visual Studio 2012 a solution created with Visual Studio 2013, and it didn't run with CTRL + F5. I open the solution file with notepad, and i change the following section:

    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
        Release|Any CPU = Release|Any CPU
    EndGlobalSection
    

    with this other:

    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug_x86|Any CPU = Debug_x86|Any CPU
        Debug_x86|x86 = Debug_x86|x86
        Debug|Any CPU = Debug|Any CPU
        Debug|x86 = Debug|x86
        PruebaRelease|Any CPU = PruebaRelease|Any CPU
        PruebaRelease|x86 = PruebaRelease|x86
        Release|Any CPU = Release|Any CPU
        Release|x86 = Release|x86
    EndGlobalSection
    

    That solves the problem for me.

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