wpf - Exception of type 'System.IO.IOException' -
i have following error message:
an unhandled exception of type 'system.io.ioexception' occurred in presentationframework.dll additional information: cannot locate resource 'sections/mainwindow.xaml'.
i created folder , moved mainwindow.xaml folder named sections. got error , found question on here making sure change starupuri sections/mainwindow.xaml
however i'm still getting error message , don't know why.
edit: ran code again, not making changes , i'm getting this
a first chance exception of type 'system.windows.markup.xamlparseexception' occurred in presentationframework.dll additional information: 'provide value on 'system.windows.baml2006.typeconvertermarkupextension' threw exception.' line number '5' , line position '54'.
the code have @ position:
<window x:class="ctac_information_system.mainwindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" windowstartuplocation="centerscreen" title="ctac information system" height="828" width="1486.5" icon="aislogov2.ico" loaded="window_loaded" fontfamily="georgia">
the red line under >
. went end of code , added </window>
because reason still getting error message.
all appreciated.
i think second error being caused icon. try removing bit of code , re-compiling check if isolates problem. try changing icon image .png
rather .ico
.
Comments
Post a Comment