Skip to content

Commit

Permalink
Merge pull request #6133 from dibarbet/merge_main
Browse files Browse the repository at this point in the history
Snap main to release
  • Loading branch information
dibarbet authored Aug 15, 2023
2 parents 7830baf + ffa697e commit e6c352a
Show file tree
Hide file tree
Showing 72 changed files with 4,924 additions and 829 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,25 @@
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)

## Latest
* Update Roslyn (PR: [#6131](https://github.com/dotnet/vscode-csharp/pull/6131))
* Only show toast for project load failures (PR: [#69494](https://github.com/dotnet/roslyn/pull/69494))
* Fix enter inserting /// on the incorrect line in documentation comments (PR: [#6130](https://github.com/dotnet/vscode-csharp/pull/6130))
* Build extension with node 18 LTS (PR: [#6128](https://github.com/dotnet/vscode-csharp/pull/6128))
* Update localized strings (PR: [#6129](https://github.com/dotnet/vscode-csharp/pull/6129))
* Fix paths for package.nls.*.json (PR: [#6121](https://github.com/dotnet/vscode-csharp/pull/6121))
* Add request to prepare for build diagnostic de-dupping (PR: [#6113](https://github.com/dotnet/vscode-csharp/pull/6113))
* Support unit test debugging options in Roslyn LSP (PR: [#6110](https://github.com/dotnet/vscode-csharp/pull/6110))
* Fix loading of package.nls.*.json (PR: [#6118](https://github.com/dotnet/vscode-csharp/pull/6118))
* Add localization infrastructure to debugger package.json strings (PR: [#6088](https://github.com/dotnet/vscode-csharp/pull/6088))
* Adjust C# semantic token scopes to better match 1.26 (PR: [#6094](https://github.com/dotnet/vscode-csharp/pull/6094))
* Update Razor to 7.0.0-preview.23410.1 (PR: [#6105](https://github.com/dotnet/vscode-csharp/pull/6105))
* Implement razor support for method simplification (PR: [#5982](https://github.com/dotnet/vscode-csharp/pull/5982))
* Attempt to find a valid dotnet version from PATH before using runtime installer extension (PR: [#6074](https://github.com/dotnet/vscode-csharp/pull/6074))
* Respect background analysis scope option in O# (PR: [#6058](https://github.com/dotnet/vscode-csharp/pull/6058))
* Add localization infrastructure to debugger components (PR: [#6064](https://github.com/dotnet/vscode-csharp/pull/6064))
* Add coreclr as a search keyword (PR: [#6071](https://github.com/dotnet/vscode-csharp/pull/6071))

## 2.0.357
* Fix issue with Go to Definition giving a "unable to resolve reference" error (PR: [#69453](https://github.com/dotnet/roslyn/pull/69453))
* Fix completion items not correctly adding using statements to the top of the file (PR: [#69454](https://github.com/dotnet/roslyn/pull/69454))
* Improve de-duping of project load failure toasts (PR: [#69455](https://github.com/dotnet/roslyn/pull/69455))
Expand All @@ -25,6 +44,7 @@
* Enable loading translated strings from razor TS code (PR: [#5962](https://github.com/dotnet/vscode-csharp/pull/5962))
* Update typescript and eslint plugin to remove build warning (PR: [6002](https://github.com/dotnet/vscode-csharp/pull/6002))
* Report how the extension was activated (PR: [#6043](https://github.com/dotnet/vscode-csharp/pull/6043))
* Update Razor to 7.0.0-preview.23410.1 (PR: [#6105](https://github.com/dotnet/vscode-csharp/pull/6105))

## 2.0.328
* Update Roslyn to 4.8.0-1.23403.6 (PR: [#6003](https://github.com/dotnet/vscode-csharp/pull/6003))
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

First install:

* Node.js ([v16.16 LTS](https://nodejs.org/en/blog/release/v16.16.0) is recommended).
* Npm (The version shipped with node is fine, for example for v16.16.0 it would be 8.19.2)
* Node.js ([v18.17.0 LTS](https://nodejs.org/de/blog/release/v18.17.0) is recommended).
* Npm (The version shipped with node is fine)
* .NET 7.0 SDK (dotnet should be on your path)

### Build and run the extension
Expand Down
3 changes: 1 addition & 2 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ trigger:
branches:
include:
- main
- prerelease
- release
pr: none

Expand All @@ -23,6 +22,6 @@ stages:
prereleaseFlag: $(prereleaseFlag)
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64

# TODO: add compliance, signing.
6 changes: 2 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ trigger:
branches:
include:
- feature/*
- prerelease
- release
- main

pr:
- feature/*
- prerelease
- release
- main

Expand All @@ -30,7 +28,7 @@ stages:
prereleaseFlag: $(prereleaseFlag)
pool:
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open

- stage: Test
displayName: Test
Expand All @@ -40,7 +38,7 @@ stages:
strategy:
matrix:
linux:
demandsName: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
demandsName: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open
pool:
name: NetCore-Public
demands: $(demandsName)
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines/prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ steps:
- task: NuGetAuthenticate@1

- task: NodeTool@0
displayName: 'Install Node.js 16.x'
displayName: 'Install Node.js 18.x'
inputs:
versionSpec: '16.x'
versionSpec: '18.x'

- task: UseDotNet@2
displayName: 'Install .NET Core SDKs'
inputs:
version: '7.0.100'
version: '7.x'

# Set the CI build number to the VSIX version we're creating from this build.
- script: |
Expand Down
23 changes: 12 additions & 11 deletions azure-pipelines/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
trigger: none
pr: none

resources:
pipelines:
- pipeline: officialBuildCI
source: dotnet-vscode-csharp
branch: main

parameters:
- name: test
type: boolean
default: true
- name: branch
type: string
default: prerelease
values:
- prerelease
- release

variables:
# This is expected to provide VisualStudioMarketplacePAT to the release (https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token)
Expand All @@ -27,8 +27,9 @@ jobs:
buildType: 'specific'
project: 'internal'
definition: 1264
buildVersionToDownload: 'latestFromBranch'
branchName: 'refs/heads/${{ parameters.branch }}'
buildVersionToDownload: 'specific'
buildId: '$(resources.pipeline.officialBuildCI.runID)'
branchName: '$(resources.pipeline.officialBuildCI.sourceBranch)'
- pwsh: |
npm install --global vsce
displayName: 'Install vsce'
Expand All @@ -44,13 +45,13 @@ jobs:
$additionalPublishArgs = , "publish"
# Artifacts are published to either pre-release or release based on the build branch, https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions
If ("${{ parameters.branch }}" -eq "prerelease") {
If ("$(resources.pipeline.officialBuildCI.sourceBranch)" -eq "refs/heads/main") {
$additionalPublishArgs += "--pre-release"
Write-Host "Publish to pre-release channel."
} ElseIf ("${{ parameters.branch }}" -eq "release") {
} ElseIf ("$(resources.pipeline.officialBuildCI.sourceBranch)" -eq "refs/heads/release") {
Write-Host "Publish to release channel."
} Else {
throw "Unexpected branch name: ${{ parameters.branch }}."
throw "Unexpected branch name: $(resources.pipeline.officialBuildCI.sourceBranch)."
}
$additionalPublishArgs += '--packagePath'
Expand Down
Loading

0 comments on commit e6c352a

Please sign in to comment.