Skip to content

Commit 8dbd8ee

Browse files
authored
Merge branch 'main' into users/merlinbot/1es-pt-auto-baselining-pr
2 parents 997e5f8 + 6e370db commit 8dbd8ee

File tree

114 files changed

+7575
-10385
lines changed

Some content is hidden

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

114 files changed

+7575
-10385
lines changed

.config/guardian/TSAConfig.gdntsa

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"codebaseName": "VSCode-CSharp-GitHub",
3+
"notificationAliases": [
4+
5+
],
6+
"codebaseAdmins": [
7+
"REDMOND\\phillipa",
8+
"REDMOND\\arkalyan"
9+
],
10+
"instanceUrl": "https://devdiv.visualstudio.com",
11+
"projectName": "DevDiv",
12+
"areaPath": "DevDiv\\NET Developer Experience\\CSharp and VB IDE\\VSCode",
13+
"iterationPath": "DevDiv",
14+
"allTools": true
15+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ node_modules
44
out
55
.roslyn/
66
.roslynDevKit/
7+
.xamlTools/
78
.omnisharp/
89
.omnisharp-*/
910
.vs/
1011
.debugger/
1112
.razor/
1213
.razoromnisharp/
1314
.razortelemetry/
15+
.razorDevKit/
1416
.vscode-test/
1517
dist/
1618
*.razor.json

.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: 34 additions & 94 deletions
Large diffs are not rendered by default.

.vscodeignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
!.roslynDevKit/**
66
!.omnisharp/**
77
!.razor/**
8+
!.razorDevKit/**
89
!.razoromnisharp/**
9-
!.razortelemetry/**
1010
.rpt2_cache/**
1111
.github/**
1212
.vscode/**
@@ -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: 176 additions & 3 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ Setting up your local development environment for the vscode-csharp repository i
2222

2323
Before you start, make sure you have the following software installed on your machine:
2424

25-
* Node.js ([v18.17.0 LTS](https://nodejs.org/en/blog/release/v18.17.0) is recommended).
25+
* Node.js v18 ([v18.17.0 LTS](https://nodejs.org/en/blog/release/v18.17.0)).
26+
* Note - Building with higher major versions of Node.js is not advised - it may work but we do not test it.
2627
* Npm (The version shipped with node is fine)
27-
* .NET 7.0 SDK (dotnet should be on your path)
28+
* .NET 8.0 SDK (dotnet should be on your path)
2829

2930
Once you have these installed, you can navigate to the cloned vscode-csharp repository to proceed with building, running, and testing the repository.
3031

@@ -146,6 +147,8 @@ To package this extension, we need to create VSIX Packages. The VSIX packages ca
146147

147148
## Updating the `Roslyn` Language Server Version
148149

150+
In order to pull in new packages from upstreams into the msft_consumption feed we use for restoring, you will need to be a member of the 'CSharp VS Code Extension contributors' group in the [Azure Devops instance](https://dev.azure.com/azure-public/vside/_settings/teams).
151+
149152
To update the version of the roslyn server used by the extension do the following:
150153
1. Find the the Roslyn signed build you want from [here](https://dnceng.visualstudio.com/internal/_build?definitionId=327&_a=summary). Typically the latest successful build of main is fine.
151154
2. In the official build stage, look for the `Publish Assets` step. In there you will see it publishing the `Microsoft.CodeAnalysis.LanguageServer.neutral` package with some version, e.g. `4.6.0-3.23158.4`. Take note of that version number.

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-official.yml

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,49 @@ trigger:
55
- release
66
- prerelease
77
pr: none
8-
98
parameters:
10-
# Allows the version number to be set manually for a specific build.
11-
# Useful when we need to create an updated extension version with no changes (for example to fix a bad partial release).
12-
- name: versionNumberOverride
13-
type: string
14-
default: 'default'
9+
# Allows the version number to be set manually for a specific build.
10+
# Useful when we need to create an updated extension version with no changes (for example to fix a bad partial release).
11+
- name: versionNumberOverride
12+
type: string
13+
default: 'default'
14+
# Allows the marketplace release channel to be set manually for a specific build
15+
# Auto will determine the release channel based on the branch.
16+
- name: channel
17+
values:
18+
- release
19+
- prerelease
20+
- auto
21+
default: auto
1522

16-
stages:
17-
- template: azure-pipelines/build-all.yml
23+
resources:
24+
repositories:
25+
- repository: 1ESPipelineTemplates
26+
type: git
27+
name: 1ESPipelineTemplates/1ESPipelineTemplates
28+
ref: refs/tags/release
29+
extends:
30+
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
1831
parameters:
19-
versionNumberOverride: ${{ parameters.versionNumberOverride }}
20-
21-
# TODO: add compliance, signing.
32+
pool:
33+
name: netcore1espool-internal
34+
image: 1es-windows-2022
35+
os: windows
36+
sdl:
37+
sourceAnalysisPool:
38+
name: netcore1espool-internal
39+
image: 1es-windows-2022
40+
os: windows
41+
policheck:
42+
enabled: true
43+
tsa:
44+
enabled: true
45+
configFile: '$(Build.SourcesDirectory)/.config/guardian/TSAConfig.gdntsa'
46+
customBuildTags:
47+
- ES365AIMigrationTooling
48+
stages:
49+
- template: /azure-pipelines/build-all.yml@self
50+
parameters:
51+
versionNumberOverride: ${{ parameters.versionNumberOverride }}
52+
isOfficial: true
53+
channel: ${{ parameters.channel }}

azure-pipelines.yml

Lines changed: 59 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,73 @@ trigger:
88
- main
99

1010
pr:
11-
- feature/*
12-
- release
13-
- prerelease
14-
- main
11+
branches:
12+
include:
13+
- feature/*
14+
- release
15+
- prerelease
16+
- main
17+
paths:
18+
exclude:
19+
- ./*.md
1520

1621
stages:
1722
- template: azure-pipelines/build-all.yml
23+
parameters:
24+
isOfficial: false
1825

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

29-
- template: azure-pipelines/test.yml
30-
parameters:
31-
jobName: Windows
32-
poolName: NetCore-Public
33-
demandsName: 1es-windows-2022-open
51+
- stage: Test_Windows_Stage
52+
displayName: Test Windows
53+
dependsOn: []
54+
jobs:
55+
- job: Test_Windows_Job
56+
displayName: Test Windows
57+
pool:
58+
name: NetCore-Public
59+
demands: ImageOverride -equals 1es-windows-2022-open
60+
steps:
61+
- template: azure-pipelines/test.yml
62+
parameters:
63+
installDotNet: true
3464

35-
- template: azure-pipelines/test.yml
36-
parameters:
37-
jobName: MacOS
38-
poolName: Azure Pipelines
39-
vmImageName: macOS-13
65+
- stage: Test_MacOS_Stage
66+
displayName: Test MacOS
67+
dependsOn: []
68+
jobs:
69+
- job: Test_MacOS_Job
70+
displayName: Test MacOS
71+
pool:
72+
name: Azure Pipelines
73+
vmImage: macOS-13
74+
steps:
75+
- template: azure-pipelines/test.yml
76+
parameters:
77+
installDotNet: true
4078

4179
- stage: Test_OmniSharp
4280
displayName: Test OmniSharp

0 commit comments

Comments
 (0)