Skip to content

Commit

Permalink
.NET 6 upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
kindermannhubert committed Jun 21, 2022
1 parent 04d6bef commit 12ee718
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
5.0.x
6.0.x
- name: Dotnet Installation Info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/PrettyPrompt.Examples.FruitPrompt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static IEnumerable<FormatSpan> EnumerateFormatSpans(string text, IEnumer
if (Fruits.Any(f => f.Name.ToLower() == wordUnderCursor))
{
// wikipedia is the definitive fruit documentation.
LaunchBrowser("https://en.wikipedia.org/wiki/" + Uri.EscapeUriString(wordUnderCursor));
LaunchBrowser("https://en.wikipedia.org/wiki/" + Uri.EscapeDataString(wordUnderCursor));
}

// since we return a null KeyPressCallbackResult here, the user will remain on the current prompt
Expand Down
4 changes: 2 additions & 2 deletions src/PrettyPrompt/PrettyPrompt.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.0.6</Version>
<Version>4.0.0</Version>

<PackageId>PrettyPrompt</PackageId>
<PackageTags>repl readline console cli</PackageTags>
Expand All @@ -23,7 +23,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/PrettyPrompt.Tests/PrettyPrompt.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 12ee718

Please sign in to comment.