About 3,500,000 results
Open links in new tab
  1. c# - Visual Studio /**/ comment shortcut? - Stack Overflow

    Sep 7, 2015 · Visual Studio 2019 now natively supports this keyboard shortcut -- Toggle Block Comment/Uncomment is now available through the keyboard shortcut (Ctrl+Shift+/) or through Edit > …

  2. c# - Method reference not showing in Visual Studio 2022 - Stack …

    Jan 22, 2024 · In my Visual Studio 2022, method references are not showing. I checked the options menu and I see this: "Show C# and visual basic references" is greyed out.

  3. c# - How to change whole solution's project's name in Visual Studio ...

    Aug 19, 2017 · To rename a project In Visual Studio Solution Explorer, right-click the project node and then select Rename from the context menu. Type the new name for your solution. To change default …

  4. How do you auto format code in Visual Studio? - Stack Overflow

    Apr 22, 2011 · For Visual Studio 2010/2013/2015/2017/2019 Format Document (Ctrl+K, Ctrl+D), i.e. press&hold Ctrl, press&release K then tap D as it is a sequence Format Selection (Ctrl+K, Ctrl+F) …

  5. c# - How to have an auto incrementing version number (Visual Studio ...

    Visual studio will increment the final number for you according to these rules (thanks galets, I had that completely wrong!) To reference this version in code, so you can display it to the user, you use …

  6. How to add a .dll reference to a project in Visual Studio

    May 27, 2020 · 48 For Visual Studio 2019 and onward you may not find Project -> Add Reference option. Use Project -> Add Project Reference. Then in dialog window navigate to Browse tab and …

  7. c# - Adding an image to a project in Visual Studio - Stack Overflow

    May 19, 2020 · I added a folder to my project by right clicking on the project and adding a new folder. Now I added the image to the folder (using copy paste in Windows File Explorer), but the solution …

  8. visual studio - C# Debug - cannot start debugging because the debug ...

    Dec 13, 2013 · Right click on the Visual Studio Project - Properties - Debug - (Start Action section) - select "Start project" radio button. Right click on the Visual Studio Project - Properties - Debug - …

  9. c# - Is there a format code shortcut for Visual Studio? - Stack Overflow

    Feb 9, 2011 · In Eclipse there is a shortcut, Ctrl+Shift+F, that re-indents code and fixes comments and blank lines. Is there an equivalent for Visual Studio 2010?

  10. Compile to a stand-alone executable (.exe) in Visual Studio

    46 how can I make a stand-alone exe in Visual Studio. Its just a simple Console application that I think users would not like to install a tiny Console application. I compiled a simple cpp file using the visual …