So I was thinking of porting my WP game to Windows 10. I created a UWP project in Visual Studio 2015 using the template in MG 3.5 beta. And I added all .cs files as link from my WP game project folder. Then I just realized that there are reference errors everywhere through out the App.xamal.cs file and the whole project.
For instance, the “using” directive below in the App.xaml.cs file is marked as missing references:
using System.Collections.Generic;
The error info says:
"Using directive is unnecessary.
The type of namespace name 'Collections' does not exist in the namespace 'System' (are you missing an assembly reference?)"
Also the App class declaration is marked as error:
sealed partial class App : Application
Error info:
"class Windows.UI.Xaml.Application
Encapsulates the app and its available services.
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version = 4.0.0.0, Culture=newtral, PublicKeyToken=b77a5c561934e089'."
I tried to edit the project references, but to no avail as I couldn’t find any of those references. I wonder if it is because UWP is using .Net 4.6?