Skip to content

Commit b575cfa

Browse files
committed
Added dotnet 5.0 support
1 parent 6db2fa9 commit b575cfa

File tree

18 files changed

+59
-44
lines changed

18 files changed

+59
-44
lines changed

.github/social/preview.png

-1.14 KB
Loading

.github/social/preview.xcf

-2.94 KB
Binary file not shown.

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches: [master]
88

99
env:
10-
dotnet: 3.1.201
11-
version: 1.6.4
10+
dotnet: 5.0.100
11+
version: 1.7.0
1212
key: dein:toolbox
1313
organization: dein
1414
name: ToolBox
@@ -22,7 +22,7 @@ jobs:
2222
name: build on ${{ matrix.platform }}
2323
steps:
2424
- uses: actions/checkout@v2
25-
- name: setup .Net Core
25+
- name: setup .Net
2626
uses: actions/setup-dotnet@v1
2727
with:
2828
dotnet-version: ${{ env.dotnet }}
@@ -35,7 +35,7 @@ jobs:
3535
name: test
3636
steps:
3737
- uses: actions/checkout@v2
38-
- name: setup .Net Core
38+
- name: setup .Net
3939
uses: actions/setup-dotnet@v1
4040
with:
4141
dotnet-version: ${{ env.dotnet }}

.github/workflows/pack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ on:
66
- "v*"
77

88
env:
9-
dotnet: 3.1.201
10-
version: 1.6.4
9+
dotnet: 5.0.100
10+
version: 1.7.0
1111

1212
jobs:
1313
pack:
1414
runs-on: ubuntu-latest
1515
name: packing
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: setup .Net Core
18+
- name: setup .Net
1919
uses: actions/setup-dotnet@v1
2020
with:
2121
dotnet-version: ${{ env.dotnet }}
@@ -38,7 +38,7 @@ jobs:
3838
- name: setup Twitter
3939
uses: ethomson/send-tweet-action@v1
4040
with:
41-
status: "ToolBox - C# .Net Core Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]\n
41+
status: "ToolBox - C# .Net Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]\n
4242
${{ env.version }} 🐛🛠 version available as NuGet package\n
4343
$ dotnet add package dein.toolbox\n
4444
\n

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": ".NET Core Launch (console)",
8+
"name": ".NET Launch (console)",
99
"type": "coreclr",
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/ToolBox.Tests/bin/Debug/netcoreapp3.1/ToolBox.Tests.dll",
13+
"program": "${workspaceFolder}/ToolBox.Tests/bin/Debug/net5.0/ToolBox.Tests.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}/ToolBox.Tests",
1616
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
@@ -19,7 +19,7 @@
1919
"internalConsoleOptions": "openOnSessionStart"
2020
},
2121
{
22-
"name": ".NET Core Attach",
22+
"name": ".NET Attach",
2323
"type": "coreclr",
2424
"request": "attach",
2525
"processId": "${command:pickProcess}"

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"unversioned",
2727
"xclip",
2828
"xcopy",
29-
"netcoreapp",
3029
"Namesapace",
3130
"ethomson",
3231
"lcov",

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12+
## [1.7.0] - 2020-11-11
13+
14+
**Removed:**
15+
16+
- Drop support for .Net Core version 2.2, because is out of support and will not receive security updates in the future.
17+
18+
**Added:**
19+
20+
- Support for .Net version 5.0
21+
1222
## [1.6.4] - 2020-04-27
1323

1424
**Fixed:**

Package/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dein ToolBox [ Win+Mac+Linux ]
22

3-
**ToolBox** was created to simplify and automate tasks related to the .Net Core console. Was born in [HardHat](https://github.com/deinsoftware/hardhat/) project as a Class. Now grown up as a library and can be used by other console applications.
3+
**ToolBox** was created to simplify and automate tasks related to the .Net console. Was born in [HardHat](https://github.com/deinsoftware/hardhat/) project as a Class. Now grown up as a library and can be used by other console applications.
44

55
Contributions or Beer will be appreciated
66

@@ -15,7 +15,7 @@ These instructions will get you a copy of the project up and running on your loc
1515

1616
What things do you need to install?
1717

18-
- [NET Core SDK](https://www.microsoft.com/net/download)
18+
- [.Net SDK](https://www.microsoft.com/net/download)
1919

2020
### Installing
2121

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
![ToolBox](.github/social/preview.png "ToolBox")
1414

15-
**ToolBox** was created to simplify and automate tasks related to the .Net Core console. Was born in [HardHat](https://github.com/deinsoftware/hardhat/) project as a Class. Now grown up as a library and can be used by other console applications.
15+
**ToolBox** was created to simplify and automate tasks related to the .Net console. Was born in [HardHat](https://github.com/deinsoftware/hardhat/) project as a Class. Now grown up as a library and can be used by other console applications.
1616

1717
> The Code is Dark and Full of Errors!
1818
> Console is your friend ... don't be afraid!
@@ -52,7 +52,7 @@ These instructions will get you a copy of the project up and running on your loc
5252

5353
What things you need to install?
5454

55-
- [NET Core SDK](https://www.microsoft.com/net/download)
55+
- [.Net SDK](https://www.microsoft.com/net/download)
5656

5757
### Installing
5858

@@ -100,7 +100,7 @@ Inside your .csproj add Command Bridge files on build:
100100

101101
```xml
102102
<Project Sdk="Microsoft.NET.Sdk">
103-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
103+
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
104104
<!-- Command Bridge -->
105105
<None Update="cmd.sh" CopyToOutputDirectory="PreserveNewest" />
106106
<None Update="cmd.bat" CopyToOutputDirectory="PreserveNewest" />
@@ -485,7 +485,7 @@ Web.IsUrl(value); //Return true if value is an http or https valid address
485485

486486
### Built With
487487

488-
- [.Net Core](https://dotnet.github.io/) - ASP.NET Core is a free and open-source web framework, and the next generation of ASP.NET, developed by Microsoft and the community.
488+
- [.Net](https://dotnet.github.io/) - .Net is a free and open-source web framework, developed by Microsoft and the community.
489489
- [VS Code](https://code.visualstudio.com/) - Code editing redefined.
490490
- [SonarQube](https://sonarcloud.io/dashboard/index/dein:toolbox) - Continuous code quality.
491491

Sample/Sample.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
3-
<PackageReference Include="dein.Colorify" Version="2.5.0" />
4-
<PackageReference Include="dein.ToolBox" Version="1.6.4" />
3+
<PackageReference Include="dein.Colorify" Version="2.6.0" />
4+
<PackageReference Include="dein.ToolBox" Version="1.7.0" />
55
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
66
</ItemGroup>
77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp3.1</TargetFramework>
9+
<TargetFramework>net5.0</TargetFramework>
1010
</PropertyGroup>
1111
</Project>

0 commit comments

Comments
 (0)