Visual Studio: Difference between revisions
Appearance
| Line 8: | Line 8: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
dotnet dev-certs https | dotnet dev-certs https | ||
-- If present, will return "A valid HTTPS certificate is already present." | -- If present, will return "A valid HTTPS certificate is already present." | ||
</syntaxhighlight> | |||
=== Trust === | |||
<syntaxhighlight lang=bash> | |||
dotnet dev-certs https --clean | |||
dotnet dev-certs https --trust | |||
</syntaxhighlight> | |||
=== Recent Version === | |||
<syntaxhighlight lang=bash> | |||
dotnet --version | |||
</syntaxhighlight> | |||
=== Available Version === | |||
<syntaxhighlight lang=bash> | |||
dotnet --list-sdks | |||
</syntaxhighlight> | |||
=== Verbose === | |||
<syntaxhighlight lang=bash> | |||
dotnet --info | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 17:03, 21 November 2025
Shortcuts
CTRL+Enter: Will create a new line above your current line and move your cursor there.
.NET Commands
See if a valid HTTPS certificate is present
dotnet dev-certs https
-- If present, will return "A valid HTTPS certificate is already present."
Trust
dotnet dev-certs https --clean
dotnet dev-certs https --trust
Recent Version
dotnet --version
Available Version
dotnet --list-sdks
Verbose
dotnet --info