11-25
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
created: 2024-02-25T00:52:01.425Z
|
||||
type: topic
|
||||
updated: 2024-11-02T15:37:49.000Z
|
||||
updated: 2024-11-25T20:45:14.336Z
|
||||
---
|
||||
|
||||
# dotnet
|
||||
@ -160,3 +160,60 @@ dotnet_diagnostic.CA1861.severity = none # CA1861: Prefer 'static readonly' fiel
|
||||
dotnet_diagnostic.JSON002.severity = warning # JSON002: Probable JSON string detected
|
||||
dotnet_diagnostic.IDE0230.severity = warning # IDE0230: Use UTF-8 string literal
|
||||
```
|
||||
|
||||
```bash 1731863670156 = 638674604701560000 = Sun Nov 17 2024 10:14:29 GMT-0700 (Mountain Standard Time)
|
||||
# snap install dotnet-sdk --classic --channel 9.0/stable
|
||||
# snap install dotnet-sdk --classic --stable
|
||||
# snap remove dotnet-sdk
|
||||
snap install dotnet-sdk --classic --channel latest/stable
|
||||
export DOTNET_ROOT=/snap/dotnet-sdk/current
|
||||
# ~/.bash_profile
|
||||
# ~/.bashrc
|
||||
dotnet --info
|
||||
```
|
||||
|
||||
```bash 1732378004187 = 638679748041870000 = Sat Nov 23 2024 09:06:43 GMT-0700 (Mountain Standard Time)
|
||||
wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
||||
dpkg -i packages-microsoft-prod.deb
|
||||
apt-get update
|
||||
apt-get install -y dotnet-sdk-9.0
|
||||
rm packages-microsoft-prod.deb
|
||||
dotnet --info
|
||||
```
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.microsoft/usersecrets/cc24ad7a-1d95-4c47-a3ea-0d8475ab06da
|
||||
nano ~/.microsoft/usersecrets/cc24ad7a-1d95-4c47-a3ea-0d8475ab06da/secrets.json
|
||||
```
|
||||
|
||||
```bash 1732478061005 = 638680748610050000 = Sun Nov 24 2024 12:54:20 GMT-0700 (Mountain Standard Time)
|
||||
dotnet nuget why Map/Map.csproj System.Private.Uri
|
||||
```
|
||||
|
||||
```conf 1732559357181 = 638681561571810000 = Mon Nov 25 2024 11:29:16 GMT-0700 (Mountain Standard Time)
|
||||
# New line preferences
|
||||
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
|
||||
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true
|
||||
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true
|
||||
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
|
||||
csharp_style_allow_embedded_statements_on_same_line_experimental = true
|
||||
|
||||
#### C# Formatting Rules ####
|
||||
|
||||
# New line preferences
|
||||
csharp_new_line_before_catch = false
|
||||
csharp_new_line_before_else = false
|
||||
csharp_new_line_before_finally = false
|
||||
csharp_new_line_before_members_in_anonymous_types = true
|
||||
csharp_new_line_before_members_in_object_initializers = true
|
||||
csharp_new_line_before_open_brace = none
|
||||
csharp_new_line_between_query_expression_clauses = true
|
||||
```
|
||||
|
||||
```conf 1732567489197 = 638681642891970000 = Mon Nov 25 2024 13:44:48 GMT-0700 (Mountain Standard Time)
|
||||
#### .NET Coding Conventions ####
|
||||
|
||||
# Organize usings
|
||||
dotnet_separate_import_directive_groups = true
|
||||
dotnet_sort_system_directives_first = true
|
||||
```
|
||||
|
Reference in New Issue
Block a user