visual studio 2012 - MvvMCross 3.0.6 Nuget package installation issue -
i trying install mvvmcross nuget package using nuget 2.5 version. have added mono android , touch file profile104 folder. still getting following exception:
attempting resolve dependency 'mvvmcross.hottuna.starterpack (≥ 3.0.6)'. attempting resolve dependency 'mvvmcross.hottuna.crosscore (≥ 3.0.6)'. attempting resolve dependency 'mvvmcross.portablesupport (≥ 3.0.6)'. installing 'mvvmcross.portablesupport 3.0.6'. installed 'mvvmcross.portablesupport 3.0.6'. installing 'mvvmcross.hottuna.crosscore 3.0.6'. installed 'mvvmcross.hottuna.crosscore 3.0.6'. installing 'mvvmcross.hottuna.starterpack 3.0.6'. installed 'mvvmcross.hottuna.starterpack 3.0.6'. installing 'mvvmcross 3.0.6'. installed 'mvvmcross 3.0.6'. adding 'mvvmcross.portablesupport 3.0.6' portableclasslibrary1. uninstalling 'mvvmcross.portablesupport 3.0.6'. uninstalled 'mvvmcross.portablesupport 3.0.6'. install failed. rolling back... not install package 'mvvmcross.portablesupport 3.0.6'.
you trying install package project targets 'portable-win+net45+monoandroid16+monotouch40+sl40+wp', package not contain assembly references or content files compatible framework. more information, contact package author.
i have selected following option when creating new pcl library project
following content xml files c:\program files (x86)\reference assemblies\microsoft\framework.netportable\v4.0\profile\profile104\supportedframeworks folder
.net windows store apps.xml
<?xml version="1.0" encoding="utf-8"?> <framework identifier=".netcore" profile="*" minimumversion="4.5" displayname=".net windows store apps" minimumversiondisplayname="" />
.net framework 4.5
<?xml version="1.0" encoding="utf-8"?> <framework identifier=".netframework" profile="*" minimumversion="4.5" displayname=".net framework" minimumversiondisplayname="4.5" />
monoandroid.xml
<?xml version="1.0" encoding="utf-8"?> <framework displayname="mono android" identifier="monoandroid" profile="*" minimumversion="1.6" maximumversion="*" />
monotouch.xml
<?xml version="1.0" encoding="utf-8"?> <framework displayname="monotouch" identifier="monotouch" profile="*" maximumversion="*" minimumversion="4.0" />
silverlight 4.xml
<?xml version="1.0" encoding="utf-8"?> <framework identifier="silverlight" profile="" minimumversion="4.0" displayname="silverlight" minimumversiondisplayname="4" />
vsmonotouch.xml
<?xml version="1.0" encoding="utf-8"?> <framework displayname="vs monotouch" identifier=".netframework" profile="*" minimumversion="1.0" maximumversion="1.0" />
windows phone 7.5.xml
<?xml version="1.0" encoding="utf-8"?> <framework identifier="silverlight" profile="windowsphone7*" minimumversion="4.0" displayname="windows phone" minimumversiondisplayname="7.5" />
i using visual studio 2012 ultimate update 2 on windows server 2012 64 bit edition. can point me in right direction.
it looks targeting windows phone 7.0 in portable class library. try switching windows phone 7.5 , see if helps. if not, try posting screenshot of pcl "choose targets" screen, contents of xml files you've added "supportedframeworks" folder.
edit: try deleting vsmonotouch.xml (and restarting visual studio afterwards).
Comments
Post a Comment