c# - Microsoft Universal Apps and Unit Testing, trouble with AppModel version -


i started new solution try universal apps. test code want add unit test project (windows phone 8.1), if error message when start unit test:

error : dep0700 : registration of app failed. windows cannot install package 808f4bed-6f93-48b9-9b63-071d68456607 because package requires higher windows version. package requested windows version 6.3 appmodel version 1, while current windows version 6.3 appmodel version 0. (0x80073cfd)

error message

what appmodel version 1 , appmodel version 0 mean, , how can fix this?

or there , way unit tests in context of microsoft universal apps?

this project structure looks like

enter image description here

update

windows phone 8.1 project + windows phone 8.1 unit test = don't work windows phone 8 project + windows phone 8 unit test = works

but still don't have clue how can windows phone 8.1 work.

btw windows version (windows 8.1 update)

ps c:\windows\system32> [system.environment]::osversion.version  major  minor  build  revision -----  -----  -----  -------- 6      3      9600   0 

on universal windows app msdn site see following note:

note these samples require windows 8.1 , microsoft visual studio 2013 microsoft visual studio 2013 update 2 or later. don't compile in microsoft visual studio 2012 windows 8

i checked own current visual studio installation 'about' page , see have vst 2013 update 1. maybe have explicitly update visual studio version, doesn't seem happen default.

i checked microsoft visual studio 2013 update 2 download page , explicitly states

it includes tools windows phone 8.1 development.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -