Skip to content

Commit 1f1dd55

Browse files
committed
.NET 8
1 parent 5e28554 commit 1f1dd55

12 files changed

Lines changed: 31 additions & 51 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v3.2.0
1818
with:
19-
dotnet-version: 7.0.x
19+
dotnet-version: 8.0.x
2020
- name: Restore dependencies
2121
run: dotnet restore
2222
- name: Build

AssetRipper.TextureDecoder.Benchmarks/AssetRipper.TextureDecoder.Benchmarks.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
85
</PropertyGroup>
96

107
<ItemGroup>

AssetRipper.TextureDecoder.ColorGenerator/AssetRipper.TextureDecoder.ColorGenerator.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
</PropertyGroup>
9-
103
<ItemGroup>
114
<PackageReference Include="AssetRipper.Text.SourceGeneration" Version="1.1.0" />
125
</ItemGroup>

AssetRipper.TextureDecoder.ConsoleApp/AssetRipper.TextureDecoder.ConsoleApp.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
85
<PublishSingleFile>true</PublishSingleFile>
96
<PublishTrimmed>true</PublishTrimmed>
107
</PropertyGroup>
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
92
</Project>
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
93
</Project>

AssetRipper.TextureDecoder.TestGenerator/AssetRipper.TextureDecoder.TestGenerator.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
85
</PropertyGroup>
96

107
<ItemGroup>

AssetRipper.TextureDecoder.Tests/AssetRipper.TextureDecoder.Tests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
84
<IsPackable>false</IsPackable>
95
</PropertyGroup>
106

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<LangVersion>Latest</LangVersion>
6-
<Nullable>enable</Nullable>
7-
<ImplicitUsings>disable</ImplicitUsings>
84
<IsTrimmable>true</IsTrimmable>
95
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
106
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
11-
<RootNamespace>AssetRipper.TextureDecoder</RootNamespace>
12-
<Authors>ds5678</Authors>
13-
<Company>AssetRipper</Company>
14-
<Version>2.0.0</Version>
15-
<AssemblyVersion>$(Version)</AssemblyVersion>
7+
168
<PackageId>AssetRipper.TextureDecoder</PackageId>
179
<PackageTags>C# Texture</PackageTags>
1810
<RepositoryUrl>https://github.com/AssetRipper/TextureDecoder</RepositoryUrl>
@@ -33,10 +25,6 @@
3325
<PrivateAssets>all</PrivateAssets>
3426
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3527
</PackageReference>
36-
<PackageReference Include="PolySharp" Version="1.13.2">
37-
<PrivateAssets>all</PrivateAssets>
38-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
39-
</PackageReference>
4028
</ItemGroup>
4129

4230
</Project>

Directory.Build.props

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project>
2+
<PropertyGroup>
3+
<TargetFramework>net8.0</TargetFramework>
4+
<LangVersion>Latest</LangVersion>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<IsTrimmable>true</IsTrimmable>
8+
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
9+
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
10+
11+
<Version>2.0.0</Version>
12+
<AssemblyVersion>$(Version)</AssemblyVersion>
13+
<Copyright>Copyright © ds5678</Copyright>
14+
<Authors>ds5678</Authors>
15+
<Company>AssetRipper</Company>
16+
</PropertyGroup>
17+
18+
<ItemGroup>
19+
<Using Include="System" />
20+
<Using Include="System.Collections.Generic" />
21+
<Using Include="System.Diagnostics.CodeAnalysis" />
22+
<Using Include="System.IO" />
23+
<Using Include="System.Linq" />
24+
<Using Include="System.Threading" />
25+
<Using Include="System.Threading.Tasks" />
26+
</ItemGroup>
27+
</Project>

0 commit comments

Comments
 (0)