Skip to content

Commit 3f7f2e0

Browse files
committed
Dotnex first release
1 parent 234f7cf commit 3f7f2e0

File tree

8 files changed

+25
-21
lines changed

8 files changed

+25
-21
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ Install the [dotnet cli](https://dotnet.microsoft.com/download) (included in the
5555

5656
```
5757
dotnet tool install -g dotnex
58-
```
58+
```f
59+
60+
### SDK version
61+
62+
`dotnex` is actually built for .NET 5. The main idea is to maintain `dotnex` up-to-date with the current, most stable release of dotnet recommended to use at the date by Microsoft.
5963
6064
## Contributions
6165

dotnex.sln

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30804.86
4+
VisualStudioVersion = 16.0.31112.23
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnex", "src\dotnex\dotnex.csproj", "{70110021-7523-42AC-8AC1-9EA23ADE15F1}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnex", "src\dotnex\dotnex.csproj", "{48FB0B53-CC53-441D-B41C-CBFACF82A7BA}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{70110021-7523-42AC-8AC1-9EA23ADE15F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{70110021-7523-42AC-8AC1-9EA23ADE15F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{70110021-7523-42AC-8AC1-9EA23ADE15F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{70110021-7523-42AC-8AC1-9EA23ADE15F1}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{48FB0B53-CC53-441D-B41C-CBFACF82A7BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{48FB0B53-CC53-441D-B41C-CBFACF82A7BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{48FB0B53-CC53-441D-B41C-CBFACF82A7BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{48FB0B53-CC53-441D-B41C-CBFACF82A7BA}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE
2121
EndGlobalSection
2222
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {E75EAEAF-1685-4B40-9F7C-47E9DB6FD412}
23+
SolutionGuid = {7B2246F3-0322-4C69-B10C-8513228BAE52}
2424
EndGlobalSection
2525
EndGlobal

src/dotnex/CacheManager.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
using System.Reflection;
44
using System.Security;
55

6-
namespace dotnettoolrun
6+
namespace dotnex
77
{
88
public static class CacheManager
99
{
10-
private const string TEMP_FOLDER_NAME = "dotnettoolrun";
10+
private const string TEMP_FOLDER_NAME = "dotnex";
1111

1212
private static string _tempFolder = Assembly.GetExecutingAssembly().Location;
1313

src/dotnex/CliCommandLineWrapper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Diagnostics;
22
using System.Threading.Tasks;
33

4-
namespace dotnettoolrun
4+
namespace dotnex
55
{
66
public class CliCommandLineWrapper
77
{

src/dotnex/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.CommandLine.Invocation;
44
using System.Threading.Tasks;
55

6-
namespace dotnettoolrun
6+
namespace dotnex
77
{
88
public class Program
99
{

src/dotnex/Properties/launchSettings.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"profiles": {
3-
"dotnettoolrun only tool": {
3+
"dotnex only tool": {
44
"commandName": "Project",
55
"commandLineArgs": "dotnetsay"
66
},
7-
"dotnettoolrun multiple arguments": {
7+
"dotnex multiple arguments": {
88
"commandName": "Project",
99
"commandLineArgs": "dotnetsay hello world"
1010
},
11-
"dotnettoolrun with version": {
11+
"dotnex with version": {
1212
"commandName": "Project",
1313
"commandLineArgs": "-v 2.1.4 dotnetsay hello world"
1414
},
15-
"dotnettoolrun with version and framework": {
15+
"dotnex with version and framework": {
1616
"commandName": "Project",
1717
"commandLineArgs": "-v 2.1.4 -f netcoreapp1.0 dotnetsay hello world"
1818
},
19-
"dotnettoolrun with version and framework no cache": {
19+
"dotnex with version and framework no cache": {
2020
"commandName": "Project",
2121
"commandLineArgs": "-v 2.1.4 -r dotnetsay hello world"
2222
},
23-
"dotnettoolrun clear cache": {
23+
"dotnex clear cache": {
2424
"commandName": "Project",
2525
"commandLineArgs": "--remove-cache"
2626
},
27-
"dotnettoolrun help": {
27+
"dotnex help": {
2828
"commandName": "Project",
2929
"commandLineArgs": "-h"
3030
}

src/dotnex/ToolHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Net.Http;
66
using System.Threading.Tasks;
77

8-
namespace dotnettoolrun
8+
namespace dotnex
99
{
1010
public class ToolHandler
1111
{

src/dotnex/dotnex.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Description>A simple .NET tool to execute other dotnet tools without installing them globally or in a project.</Description>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1;netcoreapp3.1;net5.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<LangVersion>9</LangVersion>
77
<Nullable>Enable</Nullable>
88
<VersionPrefix>0.1.2</VersionPrefix>

0 commit comments

Comments
 (0)