Skip to content

Commit bcbbc3d

Browse files
committed
Don't target .NET6 until it's stable/released
1 parent e2aefae commit bcbbc3d

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/dotnet-echo/EchoService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Grpc.Core;
1+
using System.Threading.Tasks;
2+
using Grpc.Core;
23

34
namespace Devlooped
45
{

src/dotnet-echo/Program.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
using System.CommandLine;
1+
using System;
2+
using System.CommandLine;
23
using System.CommandLine.Invocation;
4+
using System.IO;
5+
using System.Linq;
36
using System.Runtime.InteropServices;
47
using System.Security.Cryptography;
58
using System.Security.Cryptography.X509Certificates;
9+
using System.Threading;
10+
using System.Threading.Tasks;
611
using Devlooped;
712
using DotNetConfig;
813
using Humanizer;
@@ -12,6 +17,7 @@
1217
using NuGet.Configuration;
1318
using NuGet.Protocol.Core.Types;
1419
using NuGet.Versioning;
20+
using Spectre.Console;
1521

1622
#if !CI
1723
AnsiConsole.MarkupLine($"[lime]dotnet echo [/]{string.Join(' ', args)}");

src/dotnet-echo/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
using System.Buffers;
22
using System.IO.Pipelines;
3+
using System.Threading.Tasks;
34
using Microsoft.AspNetCore.Builder;
45
using Microsoft.AspNetCore.Hosting;
56
using Microsoft.AspNetCore.Http;
67
using Microsoft.Extensions.DependencyInjection;
8+
using Spectre.Console;
79

810
namespace Devlooped
911
{

src/dotnet-echo/dotnet-echo.csproj

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>echo</AssemblyName>
55
<OutputType>Exe</OutputType>
6-
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
6+
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
77
<RootNamespace>Devlooped</RootNamespace>
88
<LangVersion>preview</LangVersion>
99
<PackageId>dotnet-echo</PackageId>
@@ -32,13 +32,4 @@
3232
<None Include="..\..\readme.md" PackagePath="readme.md" Pack="true" />
3333
</ItemGroup>
3434

35-
<ItemGroup>
36-
<Import Include="Spectre.Console" />
37-
<Import Include="System" />
38-
<Import Include="System.IO" />
39-
<Import Include="System.Linq" />
40-
<Import Include="System.Threading" />
41-
<Import Include="System.Threading.Tasks" />
42-
</ItemGroup>
43-
4435
</Project>

0 commit comments

Comments
 (0)