An unhandled exception of type "System.IO.IOException" occurred in PresentationFramework.dll

The application can not download ANY xaml. Do not create an empty window "var abc = new Window1 ();"

The error message is anyway:

An exception of type "System.IO.IOException" occurred in PresentationFramework.dll but was not handled in user code

Additional Information: Cannot find resource 'wvmlog.xaml'. (for wvmlog.xaml) An exception occurs on InitializeComponent ();

These objects are created without errors on another PC, so the problem is not in the project settings.

Do not help:

  • reinstall VS
  • new VS installation
  • Restyling .net frameworks
  • Fix source from TFS
  • complete a new workspace and download from TFS
  • visual studio Clean colution
  • dll, pbd
  • obj
  • VS 2010, VS 2012, VS 2013
  • VS .

:

  • ( 1-2 , - xaml)
  • "" "" ( 1-2 , Release - xaml)

Win 7, 64-. xaml, , .

, - - wpf/.net-?

wpf/.net ​​ , - , ?

.

+4
1

. ?

, , .. , .

MVVM, "".

, APP.XAML :

<Application x:Class="dotDiff2013.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
    </Application.Resources>
</Application>

startURI , . .. .

StartupUri="Main/MainWindow.xaml"

. , .

+15

All Articles