Skip to content

Commit

Permalink
Add net9.0 support (#13)
Browse files Browse the repository at this point in the history
* Upgrade to net9.0

* Update Directory.Build.props

* Update dotnet-references.csproj

* Drop unsupported .NET runtimes.
---------

Co-authored-by: Ben McCallum <[email protected]>
  • Loading branch information
OyvindS-NHN and benmccallum authored Feb 5, 2025
1 parent fdb4d46 commit 1ea2dee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Dotnet for use with actions
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'

- name: Build with dotnet
run: dotnet build --configuration Release
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup Dotnet for use with actions
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
dotnet-version: '9.0.x'

- name: Pack with dotnet
run: dotnet pack --configuration Release
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>1.2.0</Version>
<Version>2.0.0</Version>
<Description>A dotnet global tool for manipulating references in solution and project files.</Description>
<Authors>Ben McCallum</Authors>
<Product>dotnet-references</Product>
Expand Down
5 changes: 2 additions & 3 deletions src/dotnet-references/dotnet-references.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net9.0;net8.0;</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<AssemblyName>dotnet-references</AssemblyName>
Expand All @@ -13,8 +13,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="3.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All" Publish="false" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
</ItemGroup>

</Project>

0 comments on commit 1ea2dee

Please sign in to comment.