Skip to content

KevinDHeath/VSCode

Repository files navigation

GitHub commit activity GitHub Issues or Pull Requests
Workflow Status Workflow Status Workflow Status Workflow Status

VS Code Projects using C#

See Installed Software for a list of installed extensions in Visual Studio Code.

  • CRTL+/ Comment/Uncomment
  • CTRL+. Quick fixes
  • CTRL+B Toggle the sidebar visibility
  • CTRL+J Toggle the panel visibility
  • CTRL+C Shutdown dotnet run

Change: Properties > launchSetting.json > profiles: launchBrowser = false

References
Training
CLI examples
cd [repository folder]
dotnet new list # List all template types
dotnet new [type] --help # Specific options

dotnet new gitignore
dotnet new sln --name VSCode

git init
git remote add origin https://github.com/KevinDHeath/VSCode.git
git branch -M main
code .  # Start VS Code

md src
cd src

dotnet new webapi --name WebAPI -controllers
cd ..
dotnet sln add src\WebAPI\WebAPI.csproj

dotnet list package # List referenced packages
git remote set-url origin https://github.com/KevinDHeath/VSCode # Repo name change