Unity 5.2.2f2
I generated a XAML Universal 10 build from my Game, and I get tons of errors when I open the resulting project on Visual Studio 2015.
I had some problems before, and the reason was my application name “Forgotten Tales - Day of the Dead”, I don’t know if is related.
Error CS1061 'App' does not contain a definition for 'InitializeComponent' and no extension method 'InitializeComponent' accepting a first argument of type 'App' could be found (are you missing a using directive or an assembly reference?) Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\App.xaml.cs 38
Error CS1061 'MainPage' does not contain a definition for 'InitializeComponent' and no extension method 'InitializeComponent' accepting a first argument of type 'MainPage' could be found (are you missing a using directive or an assembly reference?) Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 38
Error CS0122 'Rect' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 33
Error CS0122 'Rect.Height' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 97
Error CS0122 'Rect.Width' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 98
Error CS0122 'Rect.X' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 95
Error CS0122 'Rect.Y' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 96
Error CS0122 'Uri' is inaccessible due to its protection level Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 105
Error CS0151 A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\App.xaml.cs 51
Error CS1660 Cannot convert anonymous method to type 'DispatchedHandler' because it is not a delegate type Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\MainPage.xaml.cs 122
Warning Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll' Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\Forgotten Tales - Day of the Dead.csproj
Error CS1579 foreach statement cannot operate on variables of type 'System.Collections.Generic.IReadOnlyList<Windows.Storage.IStorageItem>' because 'System.Collections.Generic.IReadOnlyList<Windows.Storage.IStorageItem>' does not contain a public definition for 'GetEnumerator' Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\App.xaml.cs 74
Error CS0518 Predefined type 'System.Boolean' is not defined or imported Forgotten Tales - Day of the Dead D:\games\unity\games\Solitairie\ForgottenTales-DayOfTheDead\Builds\WS10\Forgotten Tales - Day of the Dead\Properties\AssemblyInfo.cs 29
Any advice?