Microsoft Universal Apps and Unit Testing, trouble with AppModel version

后端 未结 2 1645
栀梦
栀梦 2021-02-12 14:38

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

2条回答
  •  别那么骄傲
    2021-02-12 15:17

    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.

提交回复
热议问题