2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -04:00

Migrate to .NET 6

This commit is contained in:
Xjph
2022-12-04 15:01:56 -03:30
parent 388b7110cf
commit eeae99dc2a
8 changed files with 18 additions and 13 deletions

View File

@ -2,7 +2,8 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>Observatory</RootNamespace>
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
@ -39,7 +40,7 @@
<ItemGroup>
<Reference Include="ObservatoryFramework">
<HintPath>..\ObservatoryFramework\bin\Release\net5.0\ObservatoryFramework.dll</HintPath>
<HintPath>..\ObservatoryFramework\bin\Release\net6.0\ObservatoryFramework.dll</HintPath>
</Reference>
</ItemGroup>

View File

@ -14,7 +14,7 @@ namespace Observatory.PluginManagement
private IEnumerable<IObservatoryWorker> observatoryWorkers;
private IEnumerable<IObservatoryNotifier> observatoryNotifiers;
private List<(string error, string detail)> errorList;
private Timer timer;
private System.Timers.Timer timer;
public PluginEventHandler(IEnumerable<IObservatoryWorker> observatoryWorkers, IEnumerable<IObservatoryNotifier> observatoryNotifiers)
{

View File

@ -12,7 +12,7 @@ namespace Observatory.UI.Views
public partial class NotificationView : Window
{
private readonly double scale;
private readonly Timer timer;
private readonly System.Timers.Timer timer;
private readonly Guid guid;
private bool defaultPosition = true;
private PixelPoint originalPosition;