Skip to content
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

Version 1.2.1 cannot be installed for .net 4 client profile application #6

Closed
semenenkov opened this issue Sep 18, 2014 · 2 comments
Closed
Assignees

Comments

@semenenkov
Copy link

Trying to install version 1.2.1 with nuget for .net application targeted to .net 4 client profile, installation fails. Using VS2012 Pro. Previous version does not have this issue:


PM> Install-Package DiffPlex
Successfully installed 'DiffPlex 1.2.1'.
Successfully uninstalled 'DiffPlex 1.2.1'.
Install failed. Rolling back...
Install-Package : Could not install package 'DiffPlex 1.2.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0,P
rofile=Client', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package au
thor.
At line:1 char:16

  • Install-Package <<<< DiffPlex
    • CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
    • FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

PM> Install-Package DiffPlex -Version 1.2.0
Successfully installed 'DiffPlex 1.2.0'.
Successfully added 'DiffPlex 1.2.0' to MyProject

@AArnott
Copy link
Collaborator

AArnott commented Sep 18, 2014

It looks like because Microsoft has deprecated the .NET "profiles" such as client and in PCLs these profiles can't be targeted.
We should be able to add a build of the assembly specifically for net40-client to take care of this.

@AArnott AArnott self-assigned this Sep 18, 2014
@AArnott
Copy link
Collaborator

AArnott commented Sep 18, 2014

Fixed by 4354f89

@AArnott AArnott closed this as completed Sep 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants