Chase Florell
Chase Florell

Reputation: 47377

MVVMCross StarterPack not installing from Nuget in fresh PCL

I've created a fresh Portable Class Library in Visual Studio 2012 (as per the instructions)

enter image description here

I've also tried lowering the Target Framework to .Net 4

I then proceed to run

PM> Install-Package MvvmCross.HotTuna.StarterPack

But it's throwing an error

Attempting to resolve dependency 'MvvmCross.HotTuna.MvvmCrossLibraries
(≥ 3.0.10)'. Attempting to resolve dependency
'MvvmCross.HotTuna.CrossCore (≥ 3.0.10)'. Attempting to resolve
dependency 'MvvmCross.PortableSupport (≥ 3.0.10)'. Installing
'MvvmCross.PortableSupport 3.0.10'. Successfully installed
'MvvmCross.PortableSupport 3.0.10'. Installing
'MvvmCross.HotTuna.CrossCore 3.0.10'. Successfully installed
'MvvmCross.HotTuna.CrossCore 3.0.10'. Installing
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Successfully installed
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Installing
'MvvmCross.HotTuna.StarterPack 3.0.10'. Successfully installed
'MvvmCross.HotTuna.StarterPack 3.0.10'. Adding
'MvvmCross.PortableSupport 3.0.10' to FutureStateDemo.Core.
Uninstalling 'MvvmCross.PortableSupport 3.0.10'. Successfully
uninstalled 'MvvmCross.PortableSupport 3.0.10'. Install failed.
Rolling back... Could not install package 'MvvmCross.PortableSupport
3.0.10'. You are trying to install this package into a project that targets 'portable-win+net45+sl40+wp', but the package does not contain
any assembly references or content files that are compatible with that
framework. For more information, contact the package author.

What does it take to get this starter pack up and running?

Upvotes: 0

Views: 402

Answers (1)

Peter Hansen
Peter Hansen

Reputation: 8907

I'm pretty sure MvvmCross no longer has support for Windows Phone 7, so you can't target that in the PCL.

You have to pick the Windows Phone 7.5 target framework instead.

Upvotes: 4

Related Questions