"Application is not supported in a Windows Phone project" with blank WP 8.1 application in VS2015

Hi,

when I create new blank Windows Phone 8.1 application in VS2015 (Community Update 1) I have these errors in Error List:

Application is not supported in a Windows Phone project
Page is not supported in a Windows Phone project
ThemeResource is not supported in a Windows Phone project
Grid is not supported in a Windows Phone project

and XAML editor shows “Invalid Markup” message. “Vannila” blank template (from Visual C# branch instead of RemObjects C#) works fine.

I reinstalled VS2015 and Elements several times, but it didn’t help.

What should I try next?

Thanks,
Regards
Pavel

Hello.
Sorry, but I can’t reproduce this issue here in VS 2015 Update1. Are all references resolved for the project? Are these errors shown for other WP projects? For WinRT projects? Rebuilding doesn’t help? Can you check the Output Window, maybe it contains any helpful information about errors causes?