diff --git a/FlightStreamDeck.AddOn/App.xaml.cs b/FlightStreamDeck.AddOn/App.xaml.cs index 1104ce8..f9a22df 100644 --- a/FlightStreamDeck.AddOn/App.xaml.cs +++ b/FlightStreamDeck.AddOn/App.xaml.cs @@ -1,9 +1,6 @@ using FlightStreamDeck.Logics; using FlightStreamDeck.Logics.Actions; using FlightStreamDeck.SimConnectFSX; -using Microsoft.AppCenter; -using Microsoft.AppCenter.Analytics; -using Microsoft.AppCenter.Crashes; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; @@ -28,12 +25,6 @@ public partial class App : Application protected override void OnStartup(StartupEventArgs e) { -#if DEBUG - AppCenter.Start("9343b8d4-4141-40c9-9758-5c7e2fb3a1a0", typeof(Analytics), typeof(Crashes)); -#else - AppCenter.Start("0d85baad-aa1e-4694-ae3b-c6fed2056656",typeof(Analytics), typeof(Crashes)); -#endif - var builder = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); diff --git a/FlightStreamDeck.AddOn/FlightStreamDeck.AddOn.csproj b/FlightStreamDeck.AddOn/FlightStreamDeck.AddOn.csproj index 4a8f53f..92881d8 100644 --- a/FlightStreamDeck.AddOn/FlightStreamDeck.AddOn.csproj +++ b/FlightStreamDeck.AddOn/FlightStreamDeck.AddOn.csproj @@ -2,7 +2,7 @@ WinExe - net7.0-windows + net9.0-windows true x64 icon.ico @@ -15,17 +15,15 @@ - - - - - - - - - - - + + + + + + + + + @@ -223,4 +221,6 @@ + + \ No newline at end of file diff --git a/FlightStreamDeck.Core/FlightStreamDeck.Core.csproj b/FlightStreamDeck.Core/FlightStreamDeck.Core.csproj index 7f77d05..4ae8648 100644 --- a/FlightStreamDeck.Core/FlightStreamDeck.Core.csproj +++ b/FlightStreamDeck.Core/FlightStreamDeck.Core.csproj @@ -2,7 +2,7 @@ Library - net7.0 + net9.0 enable diff --git a/FlightStreamDeck.Logics/FlightStreamDeck.Logics.csproj b/FlightStreamDeck.Logics/FlightStreamDeck.Logics.csproj index 942056b..214cf3f 100644 --- a/FlightStreamDeck.Logics/FlightStreamDeck.Logics.csproj +++ b/FlightStreamDeck.Logics/FlightStreamDeck.Logics.csproj @@ -1,7 +1,7 @@  - net7.0-windows + net9.0-windows true enable diff --git a/FlightStreamDeck.LogicsTests/FlightStreamDeck.LogicsTests.csproj b/FlightStreamDeck.LogicsTests/FlightStreamDeck.LogicsTests.csproj index b2ac3f4..0f770b1 100644 --- a/FlightStreamDeck.LogicsTests/FlightStreamDeck.LogicsTests.csproj +++ b/FlightStreamDeck.LogicsTests/FlightStreamDeck.LogicsTests.csproj @@ -1,16 +1,16 @@ - net7.0-windows + net9.0-windows false - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/FlightStreamDeck.SimConnectFSX/FlightStreamDeck.SimConnectFSX.csproj b/FlightStreamDeck.SimConnectFSX/FlightStreamDeck.SimConnectFSX.csproj index 6f3a34d..8da0279 100644 --- a/FlightStreamDeck.SimConnectFSX/FlightStreamDeck.SimConnectFSX.csproj +++ b/FlightStreamDeck.SimConnectFSX/FlightStreamDeck.SimConnectFSX.csproj @@ -1,13 +1,13 @@ - net7.0-windows + net9.0-windows enable true - + diff --git a/build.bat b/build.bat index 04658fe..c264027 100644 --- a/build.bat +++ b/build.bat @@ -1,7 +1,7 @@ rd build /s /q mkdir build -dotnet publish FlightStreamDeck.AddOn\FlightStreamDeck.AddOn.csproj -c Release -r win10-x64 --self-contained -XCopy FlightStreamDeck.AddOn\bin\Release\net7.0-windows\win10-x64\publish build\tech.flighttracker.streamdeck.sdPlugin /e /h /c /i +dotnet publish FlightStreamDeck.AddOn\FlightStreamDeck.AddOn.csproj -c Release -r win-x64 --self-contained +XCopy FlightStreamDeck.AddOn\bin\Release\net9.0-windows\win-x64\publish build\tech.flighttracker.streamdeck.sdPlugin /e /h /c /i cd build DistributionTool.exe -b -i tech.flighttracker.streamdeck.sdPlugin -o . cd .. \ No newline at end of file