From 14a39983118c24ecc90c42e6c68c8cc69a272c63 Mon Sep 17 00:00:00 2001 From: Xjph Date: Mon, 6 Sep 2021 18:27:19 -0230 Subject: [PATCH] improve icon handling --- ObservatoryCore/{ => Assets}/EOCIcon-Presized.ico | Bin ObservatoryCore/ObservatoryCore.csproj | 6 +++++- ObservatoryCore/UI/Views/MainWindow.axaml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) rename ObservatoryCore/{ => Assets}/EOCIcon-Presized.ico (100%) diff --git a/ObservatoryCore/EOCIcon-Presized.ico b/ObservatoryCore/Assets/EOCIcon-Presized.ico similarity index 100% rename from ObservatoryCore/EOCIcon-Presized.ico rename to ObservatoryCore/Assets/EOCIcon-Presized.ico diff --git a/ObservatoryCore/ObservatoryCore.csproj b/ObservatoryCore/ObservatoryCore.csproj index 81c958d..5b5cae9 100644 --- a/ObservatoryCore/ObservatoryCore.csproj +++ b/ObservatoryCore/ObservatoryCore.csproj @@ -18,7 +18,7 @@ $(VersionSuffix) 0.0.1.0 $(VersionSuffix) - EOCIcon-Presized.ico + Assets\EOCIcon-Presized.ico @@ -33,6 +33,10 @@ + + + + ..\..\ObservatoryFramework\ObservatoryFramework\bin\Release\net5.0\ObservatoryFramework.dll diff --git a/ObservatoryCore/UI/Views/MainWindow.axaml b/ObservatoryCore/UI/Views/MainWindow.axaml index 484fd1a..5bd6e5c 100644 --- a/ObservatoryCore/UI/Views/MainWindow.axaml +++ b/ObservatoryCore/UI/Views/MainWindow.axaml @@ -7,5 +7,6 @@ x:Class="Observatory.UI.Views.MainWindow" Title="Elite Observatory" ExtendClientAreaToDecorationsHint="True" - Content="{Binding core}"> + Content="{Binding core}" + Icon="/Assets/EOCIcon-Presized.ico"> \ No newline at end of file