Skip to content

Commit b666565

Browse files
committed
Merge remote-tracking branch 'origin/main' into dev/maryamariyan/ranges-changes
Conflict resolved in CHANGELOG.md
2 parents 0f944c1 + 17ef56a commit b666565

34 files changed

+256
-96
lines changed

.vscodeignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ server/**
1515
src/**
1616
tasks/**
1717
test/**
18+
omnisharptest/**
19+
__mocks__/**
20+
jest.config.ts
21+
baseJestConfig.ts
22+
.prettierignore
1823
typings/**
1924
vsix/**
2025
node_modules

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,26 @@
88
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
99

1010
## Latest
11-
* Update Roslyn version to 7.0.0-preview.23456.2
12-
* Fixes regression where semantic colors for razor components appear as red
11+
* Update Razor version to 7.0.0-preview.23456.2 (PR: [#6304](https://github.com/dotnet/vscode-csharp/pull/6304))
12+
* Fixes regression where semantic colors for razor components appear as red
13+
* Add support for specifying a .runsettings file when using Roslyn LSP (PR: [#6265](https://github.com/dotnet/vscode-csharp/pull/6265))
14+
* Update Roslyn version (PR: [#6265](https://github.com/dotnet/vscode-csharp/pull/6265))
15+
* Add server support for .runsettings in unit tests (PR: [#69792](https://github.com/dotnet/roslyn/pull/69792))
16+
* Log more information when we're unable to parse a URI (PR: [#69840](https://github.com/dotnet/roslyn/pull/69840))
17+
* Bump ICSharpCode.Decompiler to 8.1.0.745 (PR: [#69772](https://github.com/dotnet/roslyn/pull/69772))
18+
* Fix override completion erroring when framework assemblies are not found (PR: [#69795](https://github.com/dotnet/roslyn/pull/69795))
19+
* Fix override completion when drive letter casing does not match (PR: [#6315](https://github.com/dotnet/vscode-csharp/pull/6315))
20+
* Allow the server path to be specified by the `DOTNET_ROSLYN_SERVER_PATH` environment variable (PR: [#6316](https://github.com/dotnet/vscode-csharp/pull/6316))
21+
22+
## 2.1.10
1323
* Update Roslyn version
1424
* Includes better support for .NET 8 and .NET Framework-targeting projects (PR: [#69616](https://github.com/dotnet/roslyn/pull/69616))
1525
* This should fix a number of reports where projects don't have full IntelliSense. .NET Framework projects on Windows should load without errors. .NET Framework targeting projects on Mac and Linux which would use Mono are still processed as if they are .NET Core projects and may not load correctly; support for Mono is coming in a future update.
1626
* Fix issues where some projects fail to load being unable to find NuGet.Frameworks (PR: [#69824](https://github.com/dotnet/roslyn/pull/69824))
1727
* Update Razor to 7.0.0-preview.23455.5 (PR: [#6291](https://github.com/dotnet/vscode-csharp/pull/6291))
1828
* Fixes issue reading razor.format.enable and other options (PR: [dotnet/razor#9240](https://github.com/dotnet/razor/issues/9240))
29+
* Fix parsing of tasks.json with comments in certain locations (PR: [#6288](https://github.com/dotnet/vscode-csharp/pull/6288))
30+
* Fix Razor browser discovery issues on Mac and Linux `DOTNET_ROSLYN_SERVER_PATH` environment variable (PR: [#6269](https://github.com/dotnet/vscode-csharp/pull/6269))
1931

2032
## 2.0.448
2133
* Update Roslyn version (PR: [#6264](https://github.com/dotnet/vscode-csharp/pull/6264))

azure-pipelines.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,23 @@ stages:
3434
displayName: Test
3535
dependsOn: []
3636
jobs:
37-
- job: Test
38-
strategy:
39-
matrix:
40-
linux:
41-
demandsName: 1es-ubuntu-2004-open
42-
windows:
43-
demandsName: 1es-windows-2022-open
44-
pool:
45-
name: NetCore-Public
46-
demands: ImageOverride -equals $(demandsName)
47-
steps:
48-
- template: azure-pipelines/test.yml
37+
- template: azure-pipelines/test.yml
38+
parameters:
39+
jobName: Linux
40+
poolName: NetCore-Public
41+
demandsName: 1es-ubuntu-2004-open
42+
43+
- template: azure-pipelines/test.yml
44+
parameters:
45+
jobName: Windows
46+
poolName: NetCore-Public
47+
demandsName: 1es-windows-2022-open
48+
49+
- template: azure-pipelines/test.yml
50+
parameters:
51+
jobName: MacOS
52+
poolName: Azure Pipelines
53+
vmImageName: macOS-13
4954

5055
- stage: Test_OmniSharp
5156
displayName: Test OmniSharp

azure-pipelines/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ stages:
9292
- stage: 'TagRelease'
9393
displayName: 'Tag release of vscode-csharp'
9494
dependsOn: 'PublishStage'
95-
condition: and(succeeded('PublishStage'), eq(variables['resources.pipeline.officialBuildCI.sourceBranch'], 'refs/heads/release'))
95+
condition: succeeded('PublishStage')
9696
jobs:
9797
- job: 'Tag'
9898
pool:
@@ -109,7 +109,7 @@ stages:
109109
fetchDepth: 0
110110
- pwsh: |
111111
git checkout $(resources.pipeline.officialBuildCI.sourceCommit)
112-
displayName: 'Checkout to release branch'
112+
displayName: 'Checkout build source branch'
113113
- pwsh: |
114114
npm ci
115115
npm install

azure-pipelines/test.yml

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,44 @@
1-
steps:
2-
- checkout: self
3-
clean: true
4-
submodules: true
5-
fetchTags: false
6-
fetchDepth: 1
1+
parameters:
2+
- name: jobName
3+
type: string
4+
- name: poolName
5+
type: string
6+
- name: demandsName
7+
type: string
8+
default: ''
9+
- name: vmImageName
10+
type: string
11+
default: ''
712

8-
- template: prereqs.yml
13+
jobs:
14+
- job: Test_${{ parameters.jobName }}
15+
displayName: 'Test ${{ parameters.jobName }}'
16+
pool:
17+
${{ if ne(parameters.poolName, '') }}:
18+
name: ${{ parameters.poolName }}
19+
${{ if ne(parameters.demandsName, '') }}:
20+
demands: ImageOverride -equals ${{ parameters.demandsName }}
21+
${{ if ne(parameters.vmImageName, '') }}:
22+
vmImage: ${{ parameters.vmImageName }}
23+
steps:
24+
- checkout: self
25+
clean: true
26+
submodules: true
27+
fetchTags: false
28+
fetchDepth: 1
929

10-
- template: test-prereqs.yml
30+
- template: prereqs.yml
1131

12-
- script: npm run test
13-
displayName: 🧪 Run unit and integration tests
14-
env:
15-
DISPLAY: :99.0
32+
- template: test-prereqs.yml
1633

17-
- task: PublishPipelineArtifact@1
18-
condition: failed()
19-
displayName: 'Upload integration test logs'
20-
inputs:
21-
targetPath: '$(Build.SourcesDirectory)/.vscode-test/user-data/logs'
22-
artifactName: 'VSCode Test Logs ($(Agent.JobName)-$(System.JobAttempt))'
34+
- script: npm run test
35+
displayName: 🧪 Run unit and integration tests
36+
env:
37+
DISPLAY: :99.0
38+
39+
- task: PublishPipelineArtifact@1
40+
condition: failed()
41+
displayName: 'Upload integration test logs'
42+
inputs:
43+
targetPath: '$(Build.SourcesDirectory)/.vscode-test/user-data/logs'
44+
artifactName: 'VSCode Test Logs ($(Agent.JobName)-$(System.JobAttempt))'

l10n/bundle.l10n.cs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Extension": "Rozšíření",
4343
"Extensions": "Rozšíření",
4444
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Nepovedlo se dokončit instalaci rozšíření C#. Podívejte se na chybu v okně výstupu níže.",
45-
"Failed to parse tasks.json file: {0}": "Failed to parse tasks.json file: {0}",
45+
"Failed to parse tasks.json file: {0}": "Nepovedlo se parsovat soubor tasks.json: {0}",
4646
"Failed to set debugadpter directory": "Nepovedlo se nastavit adresář debugadpter.",
4747
"Failed to set extension directory": "Nepovedlo se nastavit adresář rozšíření.",
4848
"Failed to set install complete file path": "Nepovedlo se nastavit úplnou cestu k souboru instalace",

l10n/bundle.l10n.de.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Extension": "Erweiterung",
4343
"Extensions": "Erweiterungen",
4444
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Fehler beim Abschließen der Installation der C#-Erweiterung. Den Fehler finden Sie unten im Ausgabefenster.",
45-
"Failed to parse tasks.json file: {0}": "Failed to parse tasks.json file: {0}",
45+
"Failed to parse tasks.json file: {0}": "Fehler beim Analysieren der Datei \"tasks.json\": {0}",
4646
"Failed to set debugadpter directory": "Fehler beim Festlegen des Debugadapterverzeichnisses",
4747
"Failed to set extension directory": "Fehler beim Festlegen des Erweiterungsverzeichnisses",
4848
"Failed to set install complete file path": "Fehler beim Festlegen des Vollständigen Installationsdateipfads.",
@@ -99,7 +99,7 @@
9999
"Required assets to build and debug are missing from '{0}'. Add them?": "Erforderliche Ressourcen zum Erstellen und Debuggen fehlen in \"{0}\". Sie hinzufügen?",
100100
"Restart": "Neu starten",
101101
"Restart Language Server": "Sprachserver neu starten",
102-
"Run and Debug: A valid browser is not installed. Please install Edge or Chrome.": "Run and Debug: A valid browser is not installed. Please install Edge or Chrome.",
102+
"Run and Debug: A valid browser is not installed. Please install Edge or Chrome.": "Ausführen und Debuggen: Es ist kein gültiger Browser installiert. Installieren Sie Edge oder Chrome.",
103103
"Run and Debug: auto-detection found {0} for a launch browser": "Ausführen und Debuggen: Die automatische Erkennung hat {0} für einen Startbrowser gefunden.",
104104
"See {0} output": "{0}-Ausgabe anzeigen",
105105
"Select the process to attach to": "Prozess auswählen, an den angefügt werden soll",

l10n/bundle.l10n.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Extension": "Extension",
4343
"Extensions": "Extensiones",
4444
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "No se pudo completar la instalación de la extensión de C#. Vea el error en la ventana de salida siguiente.",
45-
"Failed to parse tasks.json file: {0}": "Failed to parse tasks.json file: {0}",
45+
"Failed to parse tasks.json file: {0}": "No se pudo analizar el archivo tasks.json: {0}",
4646
"Failed to set debugadpter directory": "No se pudo establecer el directorio debugadpter",
4747
"Failed to set extension directory": "No se pudo establecer el directorio de la extensión",
4848
"Failed to set install complete file path": "No se pudo establecer la ruta de acceso completa del archivo de instalación",

l10n/bundle.l10n.fr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Extension": "Extension",
4343
"Extensions": "Extensions",
4444
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Échec de l’installation de l’extension C#. Consultez l’erreur dans la fenêtre sortie ci-dessous.",
45-
"Failed to parse tasks.json file: {0}": "Failed to parse tasks.json file: {0}",
45+
"Failed to parse tasks.json file: {0}": "Échec de l'analyse du fichier Tasks.json : {0}",
4646
"Failed to set debugadpter directory": "Échec de la définition du répertoire debugadpter",
4747
"Failed to set extension directory": "Échec de la définition du répertoire d’extensions",
4848
"Failed to set install complete file path": "Échec de la définition du chemin d’accès complet à l’installation",
@@ -99,7 +99,7 @@
9999
"Required assets to build and debug are missing from '{0}'. Add them?": "Les ressources requises pour la génération et le débogage sont manquantes dans « {0} ». Les ajouter ?",
100100
"Restart": "Redémarrer",
101101
"Restart Language Server": "Redémarrer le serveur de langue",
102-
"Run and Debug: A valid browser is not installed. Please install Edge or Chrome.": "Run and Debug: A valid browser is not installed. Please install Edge or Chrome.",
102+
"Run and Debug: A valid browser is not installed. Please install Edge or Chrome.": "Exécuter et déboguer : aucun navigateur valide n’est installé. Installez Edge ou Chrome.",
103103
"Run and Debug: auto-detection found {0} for a launch browser": "Exécuter et déboguer : détection automatique détectée {0} pour un navigateur de lancement",
104104
"See {0} output": "Voir la sortie {0}",
105105
"Select the process to attach to": "Sélectionner le processus à attacher",

l10n/bundle.l10n.it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Extension": "Estensione",
4343
"Extensions": "Estensioni",
4444
"Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Non è stato possibile completare l'installazione dell'estensione C#. Vedere l'errore nella finestra di output seguente.",
45-
"Failed to parse tasks.json file: {0}": "Failed to parse tasks.json file: {0}",
45+
"Failed to parse tasks.json file: {0}": "Non è stato possibile analizzare il file tasks.json: {0}",
4646
"Failed to set debugadpter directory": "Non è stato possibile impostare la directory dell'elenco di debug",
4747
"Failed to set extension directory": "Non è stato possibile impostare la directory delle estensioni",
4848
"Failed to set install complete file path": "Non è stato possibile impostare il percorso completo del file di installazione",

0 commit comments

Comments
 (0)