Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frame: 📌 change to .NET 6.0 #23

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions logic/Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks>net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion logic/Client/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
Console.WriteLine("Hello World");
timer = Dispatcher.CreateTimer();
timer.Interval = TimeSpan.FromMicroseconds(50);
timer.Interval = TimeSpan.FromMilliseconds(50);
timer.Tick += new EventHandler(Refresh);
timer.Start();
Application.Current.UserAppTheme = AppTheme.Light; //Light Theme Mode
Expand Down Expand Up @@ -371,7 +371,7 @@
}
}
}
catch (Exception ex)

Check warning on line 374 in logic/Client/MainPage.xaml.cs

View workflow job for this annotation

GitHub Actions / dotnet-build

The variable 'ex' is declared but never used
{
/*
#TODO
Expand Down Expand Up @@ -585,7 +585,7 @@
private readonly IDispatcherTimer timer;
private long counter;

AsyncServerStreamingCall<MessageToClient>? responseStream;

Check warning on line 588 in logic/Client/MainPage.xaml.cs

View workflow job for this annotation

GitHub Actions / dotnet-build

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
private bool isClientStocked;

private PlayerStatusBar redPlayer;
Expand Down
Loading