When i create a new Blank App (XAML) Project in Visual studio i get these errors:
Starts of with some references are incorrect. Should it really be like this in a new solution? (havn't written anything yet) If i try to build at this Point i get :
Cannot resolve Windows Metadata
So i figured i'll fix the namespace issues.
This was by adding reference to Window and add namespace Windows.UI.XAML
;
After that i get over 3000 (3136) errors here is some of them :
- The .winmd file 'Windows.winmd' contains type 'Windows.Globalization.ILanguageStatics'. The use of the Windows namespace is reserved.
- The .winmd file 'Windows.winmd' contains type 'Windows.Globalization.ICalendarFactory'. The use of the Windows namespace is reserved.
- The .winmd file 'Windows.winmd' contains type 'Windows.Globalization.IGeographicRegion'. The use of the Windows namespace is reserved.
- The .winmd file 'Windows.winmd' contains type 'Windows.Globalization.DayOfWeek'. The use of the Windows namespace is reserved.
- etc.
What i've tried so far
' Windows Software Development Kit (SDK) for Windows 8
I should also add that i've upgraded my Windows 7 to Windows 8.
Anyone has any suggestions about how to solve this issue?
I just hit against this issue with VS 2012 Update 2. There were one more warning in the output, something like "can't find implementation details for the 'Windows.winmd' file" (I didn't save this text, so don't remember exact spelling. This warning pointed to the Windows.winmd in some project Debug folder. I found that this folder actually contained the copy of this file. Apparently, VS made this copy for some reason. After removing it I was able to build my projects again.
So, read all warnings before reinstalling SDK, VS or Windows 8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With