Skip to content

Commit 4650f56

Browse files
authored
Merge pull request #7527 from dotnet/merge/main-to-prerelease
[automated] Merge branch 'main' => 'prerelease'
2 parents dd6c175 + 99a31bd commit 4650f56

File tree

11 files changed

+457
-390
lines changed

11 files changed

+457
-390
lines changed

.devcontainer/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/dotnet/.devcontainer/base.Dockerfile
2+
3+
FROM mcr.microsoft.com/dotnet/sdk:8.0
4+
5+
# Set up machine requirements to build the repo
6+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7+
&& apt-get -y install --no-install-recommends curl git gnupg \
8+
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
9+
&& apt-get install -y nodejs

.devcontainer/devcontainer.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/dotnetcore
3+
{
4+
"name": "vscode-csharp",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
// Set the context to the workspace folder to allow us to copy files from it.
8+
"context": ".."
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"settings": {
13+
"files.associations": {
14+
"*.csproj": "msbuild",
15+
"*.fsproj": "msbuild",
16+
"*.globalconfig": "ini",
17+
"*.manifest": "xml",
18+
"*.nuspec": "xml",
19+
"*.pkgdef": "ini",
20+
"*.projitems": "msbuild",
21+
"*.props": "msbuild",
22+
"*.resx": "xml",
23+
"*.rsp": "Powershell",
24+
"*.ruleset": "xml",
25+
"*.settings": "xml",
26+
"*.shproj": "msbuild",
27+
"*.slnf": "json",
28+
"*.targets": "msbuild",
29+
"*.vbproj": "msbuild",
30+
"*.vsixmanifest": "xml",
31+
"*.vstemplate": "xml",
32+
"*.xlf": "xml",
33+
"*.yml": "azure-pipelines"
34+
},
35+
// ms-vscode.powershell settings
36+
"powershell.promptToUpdatePowerShell": false,
37+
"powershell.integratedConsole.showOnStartup": false,
38+
"powershell.startAutomatically": false,
39+
// ms-azure-devops.azure-pipelines settings
40+
"azure-pipelines.customSchemaFile": ".vscode/dnceng-schema.json"
41+
},
42+
"extensions": [
43+
"ms-dotnettools.csharp",
44+
"ms-dotnettools.csdevkit",
45+
"EditorConfig.EditorConfig",
46+
"ms-vscode.powershell",
47+
"tintoy.msbuild-project-tools",
48+
"ms-azure-devops.azure-pipelines",
49+
"dbaeumer.vscode-eslint",
50+
"esbenp.prettier-vscode",
51+
"orta.vscode-jest"
52+
]
53+
}
54+
},
55+
"postCreateCommand": "npm ci && npx gulp installDependencies"
56+
}

.devcontainer/devinit.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"run": [
3+
{
4+
"tool": "require-dotnetcoresdk"
5+
}
6+
]
7+
}

.vscode/dneng-schema.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

66
# Latest
7+
* Update Roslyn to 4.12.0-3.24456.2 (PR: [#7525](https://github.com/dotnet/vscode-csharp/pull/7525))
8+
* Avoid BuildHost crash in Mono due to missing types (PR: [#74994](https://github.com/dotnet/roslyn/pull/74994))
9+
* Turn off word suggestions in XAML completions (PR: [#7516](https://github.com/dotnet/vscode-csharp/pull/7516))
10+
* Bump xamltools to 17.12.35305.252 (PR: [#7521](https://github.com/dotnet/vscode-csharp/pull/7521))
11+
* XAML editor enabled various lightbulbs related to x:DataType, BindingContext and Bindings.
12+
13+
# 2.46.x
714
* Update Roslyn to 4.12.0-3.24430.2 (PR: [#7496](https://github.com/dotnet/vscode-csharp/pull/7496))
815
* Bump Razor to 9.0.0-preview.24427.2 (PR: [#7471](https://github.com/dotnet/vscode-csharp/pull/7471))
916
* Suppress unique ids (#10791) (PR: [#10791](https://github.com/dotnet/razor/pull/10791))

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ 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 ([v18.17.0 LTS](https://nodejs.org/en/blog/release/v20.17.0)).
25+
* Node.js v20 ([v20.17.0 LTS](https://nodejs.org/en/blog/release/v20.17.0)).
2626
* Note - Building with higher major versions of Node.js is not advised - it may work but we do not test it.
2727
* Npm (The version shipped with node is fine)
2828
* .NET 8.0 SDK (dotnet should be on your path)
@@ -36,9 +36,10 @@ Follow these steps to build, run, and test the repository:
3636
#### Building
3737

3838
1. Run `npm i` - This command installs the project dependencies.
39-
2. Run `npm i -g gulp` - This command installs Gulp globally.
40-
3. Run `gulp installDependencies` - This command downloads the various dependencies as specified by the version in the [package.json](package.json) file.
41-
4. Run `code .` - This command opens the project in Visual Studio Code.
39+
2. Run `vsts-npm-auth -config .npmrc` - This command will configure your credentials for the next command.
40+
3. Run `npm i -g gulp` - This command installs Gulp globally.
41+
4. Run `gulp installDependencies` - This command downloads the various dependencies as specified by the version in the [package.json](package.json) file.
42+
5. Run `code .` - This command opens the project in Visual Studio Code.
4243

4344
#### Running
4445

azure-pipelines/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,14 @@ extends:
8989
$publishArtifacts = $allArtifacts[0]
9090
Write-Host "All artifacts: $($allArtifacts). Publishing $($publishArtifacts)."
9191
92-
$basePublishArgs = , "publish --azure-credential"
92+
$basePublishArgs = , "publish"
9393
If ( $uploadPrerelease ) {
9494
$basePublishArgs += "--pre-release"
9595
Write-Host "Publish to pre-release channel."
9696
} Else {
9797
Write-Host "Publish to release channel."
9898
}
99+
$basePublishArgs += '--azure-credential'
99100
$basePublishArgs += '--packagePath'
100101
$publishArgs = $basePublishArgs + (Get-ChildItem $publishArtifacts\*.vsix | Sort-Object Name -Descending |% { $_ })
101102

0 commit comments

Comments
 (0)