Showing posts with label Visual Studio 2012 Pro. Show all posts
Showing posts with label Visual Studio 2012 Pro. Show all posts

Thursday, May 9, 2013

Visual Studio 2012 Pro cannot build your solution because of XAML

You have a large enough project (in my case it is about 2 Gigabytes of sources, libs etc. etc. oh, yeah, baby... although it results in just 33 Mb 'release' executable) written in XAML/C++ for Windows 8 Metro. Suddenly from some point you cannot build it. There are errors in Output something like:
"The specified module could not be found. (Exception from HRESULT: 0x8007007E) your_path\your_project\FuckingPage.xaml 18 13 YourSolution",
"Cannot create instance of type 'YourSolution.Common.YourClass' your_path\your_project\FuckingPage.xaml 30 25 YourSolution" etc.

If this is a case, don't rush to dive into debugger or even figure out what's going wrong. Most likely there is not your mistake at all. Just close before the compilation all opened tabs containing fuckin' XAML files.

Nice, isn't? :)