Skip to content

Commit 44c7f54

Browse files
committed
Updating project to .NET 8. This has not been tested on Windows, which may have issues.
1 parent 10fe6c6 commit 44c7f54

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

src/OpenTracker.Models/OpenTracker.Models.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<Version>1.8.5</Version>
77
<LangVersion>default</LangVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.4">
11+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageReference>

src/OpenTracker.Utils/OpenTracker.Utils.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<Version>1.8.5</Version>
77
<LangVersion>default</LangVersion>

src/OpenTracker/OpenTracker.csproj

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ApplicationIcon>triforce.ico</ApplicationIcon>
66
<Win32Resource />
77
<Version>1.8.5</Version>
@@ -10,7 +10,6 @@
1010
<FileVersion>1.8.5</FileVersion>
1111
<CFBundleShortVersionString>1.8.5</CFBundleShortVersionString>
1212
<Nullable>enable</Nullable>
13-
<RuntimeIdentifiers>osx-x64;linux-x64;debian-x64;rhel-x64;win-x64;win-x86;win7-x64;win7-x86</RuntimeIdentifiers>
1413
<LangVersion>default</LangVersion>
1514
</PropertyGroup>
1615
<ItemGroup>
@@ -39,7 +38,7 @@
3938
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.7.0" />
4039
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" />
4140
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.7.0" />
42-
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.4">
41+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
4342
<PrivateAssets>all</PrivateAssets>
4443
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4544
</PackageReference>
@@ -77,18 +76,4 @@
7776
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7877
</None>
7978
</ItemGroup>
80-
<ItemGroup>
81-
<UpToDateCheckInput Remove="Views\Dropdowns\Dropdown.axaml" />
82-
<UpToDateCheckInput Remove="Views\Maps\Locations\DungeonMapLocation.axaml" />
83-
<UpToDateCheckInput Remove="Views\Maps\Locations\EntranceMapLocation.axaml" />
84-
<UpToDateCheckInput Remove="Views\Maps\Locations\MapLocation.axaml" />
85-
<UpToDateCheckInput Remove="Views\Maps\Locations\MarkableDungeonMapLocation.axaml" />
86-
<UpToDateCheckInput Remove="Views\Maps\Locations\MarkableMapLocation.axaml" />
87-
<UpToDateCheckInput Remove="Views\Maps\Locations\MarkingMapLocation.axaml" />
88-
<UpToDateCheckInput Remove="Views\Maps\Locations\ShopMapLocation.axaml" />
89-
<UpToDateCheckInput Remove="Views\Maps\Locations\TakeAnyMapLocation.axaml" />
90-
<UpToDateCheckInput Remove="Views\Capture\CaptureWindow.axaml" />
91-
<UpToDateCheckInput Remove="Views\Capture\Design\CaptureDesignDialog.axaml" />
92-
<UpToDateCheckInput Remove="Views\Capture\Design\CaptureWindowDesign.axaml" />
93-
</ItemGroup>
9479
</Project>

tests/OpenTracker.UnitTests/OpenTracker.UnitTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<LangVersion>default</LangVersion>
77
</PropertyGroup>

0 commit comments

Comments
 (0)