Skip to content

Commit

Permalink
Update to 1.8.0 version with dotnet 6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Mar 20, 2022
1 parent 8dad177 commit 1b1f083
Show file tree
Hide file tree
Showing 14 changed files with 212 additions and 182 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [master]

env:
dotnet: 5.0.100
version: 1.7.1
dotnet: 6.0.201
version: 1.8.0
key: dein:toolbox
organization: dein
name: ToolBox
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- "v*"

env:
dotnet: 5.0.100
version: 1.7.1
dotnet: 6.0.201
version: 1.8.0

jobs:
pack:
Expand Down
54 changes: 27 additions & 27 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/ToolBox.Tests/bin/Debug/net5.0/ToolBox.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/ToolBox.Tests",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/ToolBox.Tests/bin/Debug/net6.0/ToolBox.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/ToolBox.Tests",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
14 changes: 5 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,12 @@
],
"dotnet-test-explorer.testArguments": "/p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=../lcov",
"editor.tabSize": 4,
"grammarly.userWords": [
"NotificationSystem"
],
"grammarly.userWords": ["NotificationSystem"],
"grammarly.diagnostics": {
"[markdown]": {
"ignore": [
"inlineCode",
"code"
]
"ignore": ["inlineCode", "code"]
}
},
"omnisharp.useEditorFormattingSettings": true
}
"omnisharp.useEditorFormattingSettings": true,
"cSpell.words": ["dotnet", "netstandard"]
}
230 changes: 114 additions & 116 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,118 +1,116 @@
{
"version": "2.0.0",
"tasks": [{
"label": "build",
"command": "dotnet",
"type": "process",
"group": {
"kind": "build",
"isDefault": true
},
"args": [
"build",
"${workspaceFolder}/ToolBox/ToolBox.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "build tests",
"command": "dotnet",
"type": "process",
"group": "build",
"args": [
"build",
"${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "test",
"command": "dotnet",
"type": "process",
"group": {
"kind": "test",
"isDefault": true
},
"args": [
"test",
"${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj",
"/p:CollectCoverage=true",
"/p:CoverletOutputFormat=\"opencover,lcov\"",
"/p:CoverletOutput=../lcov"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish win",
"command": "dotnet",
"group": "none",
"args": [
"publish",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"-o",
"${workspaceRoot}/Library/win/",
"-c",
"release",
"-r",
"win10-x64"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish mac",
"command": "dotnet",
"args": [
"publish",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"-o",
"${workspaceRoot}/Library/mac/",
"-c",
"release",
"-r",
"osx.10.12-x64"
],
"problemMatcher": "$msCompile"
},
{
"label": "pack",
"command": "dotnet",
"args": [
"pack",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"/p:NuspecFile=${workspaceRoot}/ToolBox/ToolBox.nuspec",
"-o",
"${workspaceRoot}/Package/",
"-c",
"release"
],
"problemMatcher": "$msCompile"
},
{
"label": "permissions",
"type": "shell",
"osx": {
"command": "chmod +x ${workspaceRoot}/sonar.sh"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "sonar",
"type": "shell",
"windows": {
"command": "${workspaceRoot}\\sonar.bat"
},
"osx": {
"command": "${workspaceRoot}/sonar.sh"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"group": {
"kind": "build",
"isDefault": true
},
"args": ["build", "${workspaceFolder}/ToolBox/ToolBox.csproj"],
"problemMatcher": "$msCompile"
},
{
"label": "build tests",
"command": "dotnet",
"type": "process",
"group": "build",
"args": [
"build",
"${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "test",
"command": "dotnet",
"type": "process",
"group": {
"kind": "test",
"isDefault": true
},
"args": [
"test",
"${workspaceFolder}/ToolBox.Tests/ToolBox.Tests.csproj",
"/p:CollectCoverage=true",
"/p:CoverletOutputFormat=\"opencover,lcov\"",
"/p:CoverletOutput=../lcov"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish win",
"command": "dotnet",
"group": "none",
"args": [
"publish",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"-o",
"${workspaceRoot}/Library/win/",
"-c",
"release",
"-r",
"win10-x64"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish mac",
"command": "dotnet",
"args": [
"publish",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"-o",
"${workspaceRoot}/Library/mac/",
"-c",
"release",
"-r",
"osx.10.12-x64"
],
"problemMatcher": "$msCompile"
},
{
"label": "pack",
"command": "dotnet",
"args": [
"pack",
"${workspaceRoot}/ToolBox/ToolBox.csproj",
"/p:NuspecFile=${workspaceRoot}/ToolBox/ToolBox.nuspec",
"-o",
"${workspaceRoot}/Package/",
"-c",
"release"
],
"problemMatcher": "$msCompile"
},
{
"label": "permissions",
"type": "shell",
"osx": {
"command": "chmod +x ${workspaceRoot}/sonar.sh"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "sonar",
"type": "shell",
"windows": {
"command": "${workspaceRoot}\\sonar.bat"
},
"osx": {
"command": "${workspaceRoot}/sonar.sh"
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Fixed for any bug fixes.
Security to invite users to upgrade in case of vulnerabilities.
-->

## [1.8.0] - 2022-03-20

**Added:**

- Support for .Net version 6.0
- Support for netstandard version 2.1

## [1.7.1] - 2020-12-01

**Fixed:**
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ What things you need to install?

- [.Net SDK](https://www.microsoft.com/net/download)

**ToolBox** supports `netcoreapp3.1` and `net5.0` target frameworks.
**ToolBox** supports `netstandard2.1`, `netcoreapp3.1`, `net5.0` and `net6.0` target frameworks.

### Installing

Expand Down Expand Up @@ -102,12 +102,12 @@ Inside your .csproj add Command Bridge files on build:

```xml
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<!-- Command Bridge -->
<None Update="cmd.sh" CopyToOutputDirectory="PreserveNewest" />
<None Update="cmd.bat" CopyToOutputDirectory="PreserveNewest" />
<!-- Packages -->
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<!-- Projects -->
<ProjectReference Include="..\..\_devTB\ToolBox\ToolBox.csproj" />
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions Sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="dein.Colorify" Version="2.6.0" />
<PackageReference Include="dein.ToolBox" Version="1.7.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="dein.Colorify" Version="2.7.0" />
<PackageReference Include="dein.ToolBox" Version="1.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>

0 comments on commit 1b1f083

Please sign in to comment.