Skip to content

Commit 0814ab8

Browse files
authored
Merge branch 'main' into main
2 parents f9cf091 + 3e3139e commit 0814ab8

File tree

8,152 files changed

+917405
-311311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,152 files changed

+917405
-311311
lines changed

.config/dotnet-tools.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

.config/tsaoptions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"instanceUrl": "https://devdiv.visualstudio.com/",
3+
"template": "TFSDEVDIV",
4+
"projectName": "DEVDIV",
5+
"areaPath": "DevDiv\\NET Tools\\SDK",
6+
"iterationPath": "DevDiv",
7+
"notificationAliases": [ "[email protected]" ],
8+
"repositoryName": "dotnet-sdk",
9+
"codebaseName": "dotnet-sdk"
10+
}

.devcontainer/devcontainer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
]
1212
}
1313
},
14+
"features": {
15+
"ghcr.io/devcontainers/features/sshd:1": {
16+
"version": "latest"
17+
}
18+
},
1419
// Use 'postCreateCommand' to run commands after the container is created.
1520
"postCreateCommand": "bash -i ${containerWorkspaceFolder}/.devcontainer/scripts/post-creation.sh",
1621
// Add the locally installed dotnet to the path to ensure that it is activated
@@ -22,5 +27,10 @@
2227
"DOTNET_ROOT": "${containerWorkspaceFolder}/.dotnet",
2328
"DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR": "${containerWorkspaceFolder}/.dotnet",
2429
"NUGET_PACKAGES": "/home/vscode/.nuget/packages"
30+
},
31+
"remoteUser": "vscode",
32+
"hostRequirements": {
33+
"cpus": 16,
34+
"memory": "32gb"
2535
}
2636
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
#! /usr/bin/env sh
2+
13
# Install SDK and tool dependencies before container starts
24
# Also run the full restore on the repo so that go-to definition
35
# and other language features will be available in C# files
46
./restore.sh
7+
# run the build so that everything is 'hot'
8+
./build.sh -tl:off
9+
# setup the IDE env to point to the local .dotnet folder so that assemblies/tools are loaded as expected
10+
# this script is run from repo root so shellcheck warning about relative-path lookups can be ignored
11+
# shellcheck disable=SC1091
12+
. ./artifacts/sdk-build-env.sh

.devcontainer/vmr/README.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

.devcontainer/vmr/devcontainer.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.devcontainer/vmr/init.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

.devcontainer/vmr/synchronize-vmr.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

.editorconfig

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,10 @@ dotnet_diagnostic.IDE0200.severity = none
280280
dotnet_diagnostic.IDE0240.severity = warning
281281

282282
# Additional rules for template engine source code
283+
284+
# Default severity for analyzer diagnostics with category 'StyleCop.CSharp.SpacingRules'
285+
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.SpacingRules.severity = none
286+
283287
[{src,test}/**{Microsoft.TemplateEngine.*,dotnet-new?*}/**.cs]
284288
# Default analyzed API surface = 'public' (public APIs)
285289
dotnet_code_quality.api_surface = public
@@ -456,7 +460,7 @@ dotnet_diagnostic.SA1601.severity = none
456460
dotnet_diagnostic.SA1633.severity = none
457461

458462
# Additional rules for test source code for template engine
459-
[test/{Microsoft.TemplateEngine.*,dotnet-new.Tests}/**.cs]
463+
[test/{Microsoft.TemplateEngine.*,dotnet-new.IntegrationTests}/**.cs]
460464
# Test methods should not be skipped
461465
dotnet_diagnostic.xUnit1004.severity = warning
462466
# Elements should appear in the correct order
@@ -475,6 +479,10 @@ indent_brace_style = Allman
475479
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
476480
indent_size = 2
477481

482+
# WiX files
483+
[*.{wixproj,wxs,wxi,wxl,thm}]
484+
indent_size = 2
485+
478486
[*.{csproj,vbproj,proj,nativeproj,locproj}]
479487
charset = utf-8-bom
480488

@@ -506,5 +514,12 @@ dotnet_diagnostic.IDE0040.severity = warning
506514
[*.txt]
507515
insert_final_newline = false
508516

509-
[test/dotnet-new.Tests/**/Approvals/**]
510-
trim_trailing_whitespace = false
517+
# Verify settings
518+
[*.{received,verified}.{txt,xml,json}]
519+
charset = "utf-8-bom"
520+
end_of_line = lf
521+
indent_size = unset
522+
indent_style = unset
523+
insert_final_newline = false
524+
tab_width = unset
525+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
###############################################################################
1111
*.xlf linguist-generated=true
1212

13+
###############################################################################
14+
# Set default behavior to:
15+
# don't collapse these files in PRs
16+
###############################################################################
17+
**/build/** linguist-generated=false
18+
1319
###############################################################################
1420
# Set file behavior to:
1521
# treat as text
@@ -55,4 +61,9 @@
5561

5662
*.jpg binary
5763
*.png binary
58-
*.gif binary
64+
*.gif binary
65+
66+
# VerifyTests
67+
*.verified.txt text eol=lf working-tree-encoding=UTF-8
68+
*.verified.xml text eol=lf working-tree-encoding=UTF-8
69+
*.verified.json text eol=lf working-tree-encoding=UTF-8

0 commit comments

Comments
 (0)