Skip to content

Commit cc2f9b7

Browse files
authored
Use latest .NET 6.0 SDK patch version and update devcontainer to use .NET 6 as well (#1955)
* Update global.json * Update README.md * Update Dockerfile * Update devcontainer.json * Update devcontainer.json * Update devcontainer.json * Update global.json
1 parent 2245064 commit cc2f9b7

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.419
4+
FROM mcr.microsoft.com/dotnet/sdk:6.0
55

66
RUN pwsh --command Install-Module platyPS,Pester -Force

.devcontainer/devcontainer.json

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
2-
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnetcore-3.0
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
32
{
4-
"name": "C# (.NET Core 3.1)",
3+
"name": "C# (.NET 6.0)",
54
"dockerFile": "Dockerfile",
6-
"settings": {
7-
"terminal.integrated.shell.linux": "/usr/bin/pwsh"
8-
},
9-
"postCreateCommand": "dotnet restore",
10-
"extensions": [
11-
"ms-dotnettools.csharp",
12-
"ms-vscode.powershell-preview"
13-
]
5+
"customizations": {
6+
"vscode": {
7+
"settings": {
8+
"terminal.integrated.defaultProfile.linux": "pwsh"
9+
},
10+
"extensions": [
11+
"ms-dotnettools.csharp",
12+
"ms-vscode.powershell"
13+
]
14+
}
15+
}
1416
}

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ To install **PSScriptAnalyzer** from source code:
7272

7373
### Requirements
7474

75-
- [.NET 6.0.11 containing 6.0.403 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) or
76-
newer patch release
75+
- [Latest .NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
7776
* If building for Windows PowerShell versions, then the .NET Framework 4.6.2 [targeting pack](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462) (also referred to as developer/targeting pack) need to be installed. This is only possible on Windows.
7877
* Optionally but recommended for development: [Visual Studio 2017/2019](https://www.visualstudio.com/downloads)
7978
- [Pester v5 PowerShell module, available on PowerShell Gallery](https://github.com/pester/Pester)

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "6.0.403"
3+
"version": "6.0.418"
44
}
55
}

0 commit comments

Comments
 (0)