Skip to content

Commit

Permalink
target net8
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 14, 2023
1 parent 1d84c80 commit 140d66d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;CS0649</NoWarn>
<Version>4.6.0</Version>
<Version>5.0.0</Version>
<LangVersion>preview</LangVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
<Description>A collection of minimal binary files.</Description>
Expand Down
8 changes: 2 additions & 6 deletions src/EmptyFiles.Tool/EmptyFiles.Tool.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<ToolCommandName>emptyfile</ToolCommandName>
<AssemblyName>emptyfile</AssemblyName>
<PackageId>EmptyFiles.Tool</PackageId>
Expand All @@ -17,11 +17,7 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="$(Configuration) == 'Release'" />
<None Include="$(ProjectDir)..\..\files\**\empty.*">
<Pack>true</Pack>
<PackagePath>tools\net6.0\any\EmptyFiles</PackagePath>
</None>
<None Include="$(ProjectDir)..\..\files\**\empty.*">
<Pack>true</Pack>
<PackagePath>tools\net7.0\any\EmptyFiles</PackagePath>
<PackagePath>tools\net8.0\any\EmptyFiles</PackagePath>
</None>
<None Include="$(ProjectDir)..\..\files\**\*.*">
<Link>EmptyFiles\%(RecursiveDir)%(Filename)%(Extension)</Link>
Expand Down
4 changes: 2 additions & 2 deletions src/EmptyFiles/EmptyFiles.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<TargetFrameworks>netstandard2.0;netstandard2.1;net461;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net461;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Memory" Version="4.5.5" Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard' OR '$(TargetFrameworkIdentifier)' == '.NETFramework'" />
Expand Down
2 changes: 1 addition & 1 deletion src/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100-rc.2.23502.2",
"version": "8.0.100",
"allowPrerelease": true,
"rollForward": "latestFeature"
}
Expand Down

0 comments on commit 140d66d

Please sign in to comment.