Skip to content

Commit 0b18405

Browse files
committed
Merge remote-tracking branch 'origin/main' into dev/rolf/make-tools-resolver-cache-overridable
2 parents c540e6f + adbbd10 commit 0b18405

File tree

8,290 files changed

+924061
-304782
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,290 files changed

+924061
-304782
lines changed

.azuredevops/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version: 2
2+
3+
# Disabling dependabot on Azure DevOps as this is a mirrored repo. Updates should go through github.
4+
enable-campaigned-updates: false
5+
enable-security-updates: false

.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": [ "dotnetdevexcli@microsoft.com" ],
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: 11 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

@@ -507,11 +515,11 @@ dotnet_diagnostic.IDE0040.severity = warning
507515
insert_final_newline = false
508516

509517
# Verify settings
510-
[*.{received,verified}.{txt,xml,json}]
518+
[*.{received,verified}.{txt,xml,json,sh,zsh,nu,fish,ps1}]
511519
charset = "utf-8-bom"
512520
end_of_line = lf
513521
indent_size = unset
514522
indent_style = unset
515523
insert_final_newline = false
516524
tab_width = unset
517-
trim_trailing_whitespace = false
525+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)