-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.0.0 Cannot install on PCL #1449
Comments
Can you try the MyGet feed? I believe this one's good. |
I tried from that feed: https://www.myget.org/gallery/automapperdev Version 5.0.1-alpha-01144 also not working:
|
Oh, yeah, I don't support that profile. Profile49 is .NET 4.5 and Windows Phone Silverlight 8. I'm not supporting Silverlight anymore. Are you deploying to Windows Phone Silverlight 8? |
Yes, I was trying not to target Silverlight, but if I don't force targeting Windows specific version Silverlight is automatically targeted. Works! |
So....what platforms do you WANT to target? |
Specifically android and ios. But if I target only those, Silverlight gets automatically targeted. To make sure it's not, I have to force a Windows 8 target. |
So AutoMapper only supports netstandard1.1 and above. To get to target, you need one of the profiles listed here: https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md#portable-profiles |
Thanks, the installation worked. Can you tell me the target release for the stable version of this build? |
This week. On Wednesday, July 6, 2016, Nicolas Belley notifications@github.com wrote:
|
5.0.1 is released! |
Putting this here because it's the only issue I could find related when I searched. I ran into a similar issue. The error I got was "Could not install package 'System.Runtime.InteropServices.RuntimeInformation 4.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7', 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." It was an error in net core https://github.com/dotnet/corefx/issues/10445 I'm not sure how long it will take for that fix to propagate. So I had to install |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Since version 4.1, it's been impossible for me to update Automapper on my PCL projects.
I tried again with 5.0.0 with an updated Visual Studio and Xamarin to the latest version (Update 3).
Still not working. I'm wondering if I'm doind something wrong or it's simply normal and will never be supported?
Actual error message: Severity Code Description Project File Line Suppression State
Error Could not install package 'AutoMapper 5.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile49', 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. 0
Thanks.
The text was updated successfully, but these errors were encountered: