Skip to content

Commit

Permalink
Update MainWindow.xaml
Browse files Browse the repository at this point in the history
When I attempted to build this project on windows 10 I got the error:

System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.IO.IOException: Cannot locate resource 'windows/images/hearthstonedecktracker.ico'.

Changing line 15 in MainWindow.xaml and line 7 in LoginWindow.xaml to:
Icon="/HearthstoneDeckTracker;component/Images/HearthstoneDeckTracker.ico"
will fix this issue
  • Loading branch information
Psynbiotik committed Sep 29, 2015
1 parent 9bf7e8b commit 8b00207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hearthstone Deck Tracker/Windows/MainWindow/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Title="Hearthstone Deck Tracker" Height="603" Width="700"
MinHeight="584" MinWidth="700"
Closing="Window_Closing"
Icon="..\..\Images\HearthstoneDeckTracker.ico"
Icon="/HearthstoneDeckTracker;component/Images/HearthstoneDeckTracker.ico"
StateChanged="MetroWindow_StateChanged" Loaded="MetroWindow_Loaded"
BorderBrush="{DynamicResource AccentColorBrush}" BorderThickness="1" LocationChanged="MetroWindow_LocationChanged" SizeChanged="MetroWindow_SizeChanged">
<Window.Resources>
Expand Down Expand Up @@ -650,4 +650,4 @@
</StatusBar>
</Grid>
</Grid>
</controls:MetroWindow>
</controls:MetroWindow>

0 comments on commit 8b00207

Please sign in to comment.