Closed chamamo closed 9 years ago
You will have to manually reference the portable if it is a different profile. Unfortunate side effect of portables.
Sent from my iPhone
On Oct 22, 2013, at 6:28 PM, chamamo notifications@github.com wrote:
Hi, I get error when I try to install this package from Nuget.
here is the error:
Could not install package 'Chance.MvvmCross.Plugins.UserInteraction 1.0.0'. You are trying to install this package into a project that targets 'portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71', 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.
Thank you in advance.
— Reply to this email directly or view it on GitHub.
I can install the other packages except this one, is this a an issue that you would to resolve? Thank you
I used profile Profile47 (.net 4.5, mono droid, mono touch, silverlight 5 and windows phone 8) to get the async/await support which ends up allowing a target of 'portable-win+net45+MonoAndroid16+MonoTouch40+sl50+wp8'
This issue comes up when using a portable from a portable, they need to have the same profile to auto install from nuget. Otherwise you have to add the reference manually.
You should see this behavior when adding other portables - like json.net since it does not have a target for monodroid or monotouch.
How are you doing to select profile47? when I choose .net 4.5, mono droid, mono touch, silverlight 5 and windows phone 8 the profile158 is selected by default.
Edit the csproj file directly. You can still just add a manual reference to the file in the packages folder. That is all nuget is doing.
On Fri, Nov 22, 2013 at 5:07 PM, chamamo notifications@github.com wrote:
How are you doing to select profile47? when I choose .net 4.5, mono droid, mono touch, silverlight 5 and windows phone 8 the profile158 is selected by default.
— Reply to this email directly or view it on GitHubhttps://github.com/brianchance/MvvmCross-UserInteraction/issues/3#issuecomment-29116563 .
Hi, I get error when I try to install this package from Nuget.
here is the error:
Could not install package 'Chance.MvvmCross.Plugins.UserInteraction 1.0.0'. You are trying to install this package into a project that targets 'portable-win+net45+MonoAndroid16+MonoTouch40+sl40+wp71', 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.
Thank you in advance.