Skip to content

Commit 37a1abd

Browse files
authored
Merge pull request #7096 from dibarbet/merge_prerelease
Update release branch with changes from v2.28.8 prerelease
2 parents fd9d6fc + 9384a84 commit 37a1abd

File tree

67 files changed

+4885
-3197
lines changed

Some content is hidden

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

67 files changed

+4885
-3197
lines changed

.config/1espt/PipelineAutobaseliningConfig.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,14 @@ pipelines:
3333
lastModifiedDate: 2024-03-19
3434
spotbugs:
3535
lastModifiedDate: 2024-03-19
36+
1271:
37+
retail:
38+
source:
39+
credscan:
40+
lastModifiedDate: 2024-03-27
41+
eslint:
42+
lastModifiedDate: 2024-03-27
43+
psscriptanalyzer:
44+
lastModifiedDate: 2024-03-27
45+
armory:
46+
lastModifiedDate: 2024-03-27

.config/guardian/.gdnbaselines

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
],
2222
"tool": "credscan",
2323
"ruleId": "CSCAN-GENERAL0020",
24-
"createdDate": "2024-03-19 17:56:07Z",
25-
"expirationDate": "2024-09-05 18:18:29Z",
26-
"justification": "This error is baselined with an expiration date of 180 days from 2024-03-19 18:18:29Z"
24+
"createdDate": "2024-03-27 17:49:11Z",
25+
"expirationDate": "2024-09-13 17:51:28Z",
26+
"justification": "This error is baselined with an expiration date of 180 days from 2024-03-27 17:51:28Z"
2727
}
2828
}
2929
}

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/
2+
always-auth=true

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@
169169
"updatePackageDependencies"
170170
],
171171
"env": {
172-
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/74b76bfa424bd6a36b5fcbd11b801b45/razorlanguageserver-linux-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/b6fa76f8ccfa8053f56f1fa3d39e78c9/razorlanguageserver-linux-musl-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/97b57265a3097b6128aaa4be297f1243/razorlanguageserver-linux-musl-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/fdf85820363515f55ce0f4e35a7fe780/razorlanguageserver-linux-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/48d3bef6b7f06634e53ca433be40e52a/razorlanguageserver-osx-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/581c065f415941a97c7687403da5d61c/razorlanguageserver-osx-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/b2940e8871ef222b0bc820b51ec44ed2/razorlanguageserver-platformagnostic-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/bbc8d2a30ba7da4e0eb4465a329b1fa1/razorlanguageserver-win-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/dc3bfe5f9473a09cb823d665193d4ff0/razorlanguageserver-win-x64-7.0.0-preview.24168.4.zip",
173-
"NEW_DEPS_VERSION": "7.0.0-preview.24168.4",
172+
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/63e9bcf9df9b2dc7aed8986d02eb8a99/razorlanguageserver-linux-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/d0f2ff54001f1d3f58bf70d0969ed16e/razorlanguageserver-linux-musl-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/ed94c4a4dc938d9a428202e4ce8769ec/razorlanguageserver-linux-musl-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/84627676a361059963afd170163e21f3/razorlanguageserver-linux-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/d7ca1e9512d9f585a8145588ff09857d/razorlanguageserver-osx-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/5dd13e7a225c4c0c176f50c203a5a176/razorlanguageserver-osx-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/89988e284b82abdf29d98c8bfa14e03b/razorlanguageserver-platformagnostic-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/6c21b84932bafaf6a4be27e6cccc6434/razorlanguageserver-win-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/b602af8bccf37a92bbd6429716129140/razorlanguageserver-win-x64-7.0.0-preview.24178.4.zip",
173+
"NEW_DEPS_VERSION": "7.0.0-preview.24178.4",
174174
"NEW_DEPS_ID": "Razor"
175175
},
176176
"cwd": "${workspaceFolder}"
@@ -185,8 +185,8 @@
185185
"updatePackageDependencies"
186186
],
187187
"env": {
188-
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/b9a6b44701b08cd5a8b2934260f5ad59/devkittelemetry-linux-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/3569c56beb063da89dff13444964e5ee/devkittelemetry-linux-musl-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/d0eb6050d4429ba1f833bb90549d6014/devkittelemetry-linux-musl-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/5c0781c22717cbf061552947d173035e/devkittelemetry-linux-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/962eebbee4f1618b8042745af0ee252d/devkittelemetry-osx-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/aeb2b93f02a901cc3b6f0a01db5ffefa/devkittelemetry-osx-x64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/addbbd1ec261f5576add7369416102c4/devkittelemetry-platformagnostic-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/973b8d03917bb4256ca01c91fe3638a7/devkittelemetry-win-arm64-7.0.0-preview.24168.4.zip,https://download.visualstudio.microsoft.com/download/pr/e6af6483-13d8-4a24-8f9d-d418fb39bd97/95481d73dc1be495fccce0372813edac/devkittelemetry-win-x64-7.0.0-preview.24168.4.zip",
189-
"NEW_DEPS_VERSION": "7.0.0-preview.24168.4",
188+
"NEW_DEPS_URLS": "https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/704e369c5905f9ece819ebce77fb78d8/devkittelemetry-linux-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/4049a66147717a53860bbc969bf32faa/devkittelemetry-linux-musl-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/c75e84ff813be5c9833d96dc2066a364/devkittelemetry-linux-musl-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/f58cf629939f0df77d142be881f9e233/devkittelemetry-linux-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/1c912419ea45c8d95cfa28a8a04640dc/devkittelemetry-osx-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/36545ba0998f1fc380e877e38b2f35f1/devkittelemetry-osx-x64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/0a32698e8ba1ab93489d79f34f8ae8d0/devkittelemetry-platformagnostic-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/4f16ff826fedd33ad80d265c5409588b/devkittelemetry-win-arm64-7.0.0-preview.24178.4.zip,https://download.visualstudio.microsoft.com/download/pr/534f8426-a4f4-4b2d-b3ba-c4e16a38c48c/5a98d8f4e481dbb7ae3cdb3695b75c46/devkittelemetry-win-x64-7.0.0-preview.24178.4.zip",
189+
"NEW_DEPS_VERSION": "7.0.0-preview.24178.4",
190190
"NEW_DEPS_ID": "RazorTelemetry"
191191
},
192192
"cwd": "${workspaceFolder}"

.vscodeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ webpack.config.js
5252
!src/razor/language-configuration.json
5353
!src/razor/syntaxes/*
5454

55+
!src/xaml/language-configuration.json
56+
!src/xaml/syntaxes/*
57+
5558
+RuntimeLicenses/dependencies/*
5659
coreclr-debug/install.log

CHANGELOG.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,42 @@
33
- Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951)
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

6-
## Latest
6+
# Latest
7+
* Update Roslyn to 4.11.0-1.24226.4 (PR: [#7069](https://github.com/dotnet/vscode-csharp/pull/7069))
8+
* Separate document diagnostics into multiple buckets to improve diagnostics performance (PR: [#73073](https://github.com/dotnet/roslyn/pull/73073))
9+
* Improve performance of diagnostics when analysis is set to fullSolution (PR: [#73201](https://github.com/dotnet/roslyn/pull/73201))
10+
* updated Telemetry to 17.11.8 and Utilities.Internal to 16.3.73 (PR: [#73107](https://github.com/dotnet/roslyn/pull/73107))
11+
* Fix issue where file watchers for Razor documents were not created (PR: [#73077](https://github.com/dotnet/roslyn/pull/73077))
12+
* Upgrade Debugger for 2.19.18 Release (PR: [#7060](https://github.com/dotnet/vscode-csharp/pull/7060))
13+
* Textmate: fix Razor expression classification inside of HTML tags using injection (PR: [#7055](https://github.com/dotnet/vscode-csharp/pull/7055))
14+
* Textmate: fix Razor expression classification inside of HTML tags (PR: [#7051](https://github.com/dotnet/vscode-csharp/pull/7051))
15+
16+
# 2.26.13
17+
* Update Roslyn to 4.11.0-1.24209.10 (PR: [#<>](https://github.com/dotnet/vscode-csharp/pull/<>))
18+
* Fix issue with case sensitivity when finding documentIds for URIs (PR: [#72965](https://github.com/dotnet/roslyn/pull/72965))
19+
* Bulk add/remove projects to workspace (PR: [#72957](https://github.com/dotnet/roslyn/pull/72957))
20+
* Allow language specific handlers to use their own types for serialization (PR: [#72230](https://github.com/dotnet/roslyn/pull/72230))
21+
* Update VS telemetry for devkit (PR: [#72894](https://github.com/dotnet/roslyn/pull/72894))
22+
* Bump Razor to 7.0.0-preview.24178.4 (PR: [#7017](https://github.com/dotnet/vscode-csharp/pull/7017))
23+
* Add option to force runtime code generation for razor (a.k.a fuse)
24+
* [Fix vscode fuse feature flag (10169)](https://github.com/dotnet/razor/pull/10169)
25+
* [Replace `BatchingWorkQueue` with `AsyncBatchingWorkQueue` from Roslyn (10140)](https://github.com/dotnet/razor/pull/10140)
26+
27+
## 2.24.17
28+
* Add oboslete classification definitions to vs2019 themes (PR: [#7011](https://github.com/dotnet/vscode-csharp/pull/7011))
29+
* Bump Roslyn to 4.11.0-1.24179.11 (PR: [#7011](https://github.com/dotnet/vscode-csharp/pull/7011))
30+
* Add feature to strike out obsolete symbols (PR: [#72156](https://github.com/dotnet/roslyn/pull/72156))
31+
* Fix issue where some file changes would be ignored on Windows due to casing (PR: [#72555](https://github.com/dotnet/roslyn/pull/72555))
32+
* Drop win32-ia32 language server support (PR: [#72605](https://github.com/dotnet/roslyn/pull/72605))
33+
* Use built in Razor source generator instead of generator from SDK. (PR: [#72482](https://github.com/dotnet/roslyn/pull/72482))
34+
* Always log LSP server processId and increase attach timeout (PR: [#72531](https://github.com/dotnet/roslyn/pull/72531))
35+
* Bump razor and update changelog (PR: [#7005](https://github.com/dotnet/vscode-csharp/pull/7005))
36+
* Tweak RazorConfigurationFormatter to account for serialization format change (PR: [#10157](https://github.com/dotnet/razor/pull/10157))
37+
* Use PooledArrayBuilder<SyntaxToken> throughout parsers and tokenizer (PR [#10095](https://github.com/dotnet/razor/pull/10095))
38+
* Fix hot path string allocations from ProjectKey (PR: [#10138](https://github.com/dotnet/razor/pull/10138))
39+
* Disable latest runtime patch (PR: [#10133](https://github.com/dotnet/razor/pull/10133))
40+
41+
## 2.23.15
742
* Rename RazorComponentAttribute semantic token to razorComponentAttribute (PR: [#6867](https://github.com/dotnet/vscode-csharp/pull/6867))
843
* Drop win32-ia32 platform support (PR: [#6983](https://github.com/dotnet/vscode-csharp/pull/6983))
944
* Fix some issues with casing when comparing Razor files (PR: [#6974](https://github.com/dotnet/vscode-csharp/pull/6974))
@@ -17,6 +52,10 @@
1752
- Updated debugger to fix .NET debugging break with searchNuGetOrgSymbolServer enabled (PR: [#6937](https://github.com/dotnet/vscode-csharp/pull/6937))
1853
- Update Razor to add formatting option to force open brace onto the next line after a @code or @functions block (PR: [#10018](https://github.com/dotnet/razor/pull/10018))
1954

55+
## 2.22.5
56+
* Update Razor to 7.0.0-preview.24165.1 (PR: [#6922](https://github.com/dotnet/vscode-csharp/pull/6922))
57+
* Fix casing issues that cause missing components in Razor files (PR: [#10050](https://github.com/dotnet/razor/pull/10050))
58+
2059
## 2.22.2
2160
- Update Roslyn to run on .NET 8 (PR: [#6920](https://github.com/dotnet/vscode-csharp/pull/6920))
2261
* Upgrade language server to run on .NET 8 (PR: [#72247](https://github.com/dotnet/roslyn/pull/72247))

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<PropertyGroup>
3+
<!--
4+
Defines the lowest supported target framework for the extension.
5+
Used by server download / integration tests to ensure they run when only this SDK is installed.
6+
-->
7+
<LowestSupportedTargetFramework>net6.0</LowestSupportedTargetFramework>
8+
</PropertyGroup>
9+
</Project>

azure-pipelines.yml

Lines changed: 48 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,58 @@ stages:
1818
parameters:
1919
isOfficial: false
2020

21-
- stage: Test
22-
displayName: Test
21+
- stage: Test_Linux_Stage
22+
displayName: Test Linux
2323
dependsOn: []
2424
jobs:
25-
- template: azure-pipelines/test.yml
26-
parameters:
27-
jobName: Linux
28-
poolName: NetCore-Public
29-
demandsName: 1es-ubuntu-2004-open
25+
- job: Test_Linux_Job
26+
displayName: Test Linux
27+
strategy:
28+
matrix:
29+
DotNet6:
30+
containerName: mcr.microsoft.com/dotnet/sdk:6.0
31+
DotNet7:
32+
containerName: mcr.microsoft.com/dotnet/sdk:7.0
33+
DotNet8:
34+
containerName: mcr.microsoft.com/dotnet/sdk:8.0
35+
pool:
36+
name: NetCore-Public
37+
demands: ImageOverride -equals 1es-ubuntu-2004-open
38+
container: $[ variables['containerName'] ]
39+
steps:
40+
- template: azure-pipelines/test.yml
41+
parameters:
42+
# Prefer the dotnet from the container.
43+
installDotNet: false
44+
installAdditionalLinuxDependencies: true
3045

31-
- template: azure-pipelines/test.yml
32-
parameters:
33-
jobName: Windows
34-
poolName: NetCore-Public
35-
demandsName: 1es-windows-2022-open
46+
- stage: Test_Windows_Stage
47+
displayName: Test Windows
48+
dependsOn: []
49+
jobs:
50+
- job: Test_Windows_Job
51+
displayName: Test Windows
52+
pool:
53+
name: NetCore-Public
54+
demands: ImageOverride -equals 1es-windows-2022-open
55+
steps:
56+
- template: azure-pipelines/test.yml
57+
parameters:
58+
installDotNet: true
3659

37-
- template: azure-pipelines/test.yml
38-
parameters:
39-
jobName: MacOS
40-
poolName: Azure Pipelines
41-
vmImageName: macOS-13
60+
- stage: Test_MacOS_Stage
61+
displayName: Test MacOS
62+
dependsOn: []
63+
jobs:
64+
- job: Test_MacOS_Job
65+
displayName: Test MacOS
66+
pool:
67+
name: Azure Pipelines
68+
vmImage: macOS-13
69+
steps:
70+
- template: azure-pipelines/test.yml
71+
parameters:
72+
installDotNet: true
4273

4374
- stage: Test_OmniSharp
4475
displayName: Test OmniSharp

azure-pipelines/loc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ variables:
3232
- group: OneLocBuildVariables
3333

3434
extends:
35-
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
35+
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
3636
parameters:
3737
pool:
38-
name: NetCore1ESPool-Svc-Internal
38+
name: netcore1espool-internal
3939
image: 1es-windows-2022-pt
4040
os: windows
4141
stages:

azure-pipelines/prereqs.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ parameters:
22
- name: versionNumberOverride
33
type: string
44
default: 'default'
5+
- name: installDotNet
6+
type: boolean
7+
default: true
58

69
steps:
710

@@ -13,13 +16,18 @@ steps:
1316
inputs:
1417
versionSpec: '18.x'
1518

16-
- task: UseDotNet@2
17-
displayName: 'Install .NET Core SDKs'
18-
inputs:
19-
version: '8.x'
19+
# Some tests use predefined docker images with a specific version of .NET installed.
20+
# So we avoid installing .NET in those cases.
21+
- ${{ if eq(parameters.installDotNet, true) }}:
22+
- task: UseDotNet@2
23+
displayName: 'Install .NET Core SDKs'
24+
inputs:
25+
version: '8.x'
2026

21-
- script: |
22-
dotnet tool install --tool-path $(Agent.BuildDirectory) nbgv
27+
- script: dotnet --info
28+
displayName: Display dotnet info
29+
30+
- script: dotnet tool install --tool-path $(Agent.BuildDirectory) nbgv
2331
displayName: Install nbgv
2432

2533
# If we want to override the version, update the version.json here - vsix packaging will see this value

0 commit comments

Comments
 (0)