I started a new Solution to try the Universal Apps. To test my code I want to add a unit test project (windows phone 8.1), but if I do so I get this error message when I start a
On Universal Windows App msdn site I see following note:
Note These samples require Windows 8.1 and Microsoft Visual Studio 2013 with Microsoft Visual Studio 2013 Update 2 or later. They don't compile in Microsoft Visual Studio 2012 for Windows 8
I checked my own current Visual Studio Installation 'About' page and see that I have VST 2013 Update 1. Maybe you have to explicitly update your Visual Studio version, it doesn't seem to happen by default.
I also checked the Microsoft Visual Studio 2013 Update 2 download page and that explicitly states
It includes tools for Windows Phone 8.1 development.