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

unable to upgrade to canopy 2.0.1 #439

Open
manishdube opened this issue May 2, 2018 · 8 comments
Open

unable to upgrade to canopy 2.0.1 #439

manishdube opened this issue May 2, 2018 · 8 comments

Comments

@manishdube
Copy link

unable to upgrade to canopy 2.0.1
Updating the nuget package throws the below error.

Unable to resolve dependencies. 'System.Drawing.Common 4.0.0' is not compatible with 'canopy 2.0.1 constraint: System.Drawing.Common

@lefthandedgoat
Copy link
Owner

What version of .net framework. I think you need to target 4.6.2

@manishdube
Copy link
Author

on 4.6.1 currently.
will try upgrading and see. thanks.

@lefthandedgoat
Copy link
Owner

I was able to reproduce this and figure this out. I just installed the drawing package first, then canopy installed fine:

https://www.nuget.org/packages/System.Drawing.Common/4.5.0-preview1-26216-02

@VictorHug0
Copy link

VictorHug0 commented Aug 7, 2018

I have the same issue. I installed the drawing package first, as you suggested. I have this error:

Package 'canopy.2.0.1 : FSharp.Core [4.3.4, ), Selenium.WebDriver [3.11.0, ), System.Drawing.Common [4.5.0-preview1-26216-02, )' does not exist in project

install-package : Failed to add reference to 'chromedriver'.

@lefthandedgoat
Copy link
Owner

@VictorHug0 What command are you running ? Install-Package canopy -Version 2.0.1 ?

@VictorHug0
Copy link

I'm using: Install-Package canopy

@lefthandedgoat
Copy link
Owner

lefthandedgoat commented Sep 10, 2018

@VictorHug0 can you try canopy 2.1.0 it updates to the latest System.Drawing.Common that may have been the source of your problems:

https://www.nuget.org/packages/canopy/2.1.0

@VictorHug0
Copy link

Now I´m getting this error:

Could not install package 'canopy 2.1.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not
contain any assembly references or content files that are compatible with that framework

I'm trying to upgrade the .NetFramework Version but no options are displayed in the Target Framework field on Visual Studio 2017

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

3 participants