canopy icon indicating copy to clipboard operation
canopy copied to clipboard

unable to upgrade to canopy 2.0.1

Open manishdube opened this issue 7 years ago • 8 comments

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

manishdube avatar May 02 '18 11:05 manishdube

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

lefthandedgoat avatar May 02 '18 19:05 lefthandedgoat

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

manishdube avatar May 02 '18 19:05 manishdube

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

lefthandedgoat avatar May 19 '18 15:05 lefthandedgoat

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'.

VictorHug0 avatar Aug 07 '18 21:08 VictorHug0

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

lefthandedgoat avatar Aug 07 '18 21:08 lefthandedgoat

I'm using: Install-Package canopy

VictorHug0 avatar Aug 07 '18 21:08 VictorHug0

@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

lefthandedgoat avatar Sep 10 '18 04:09 lefthandedgoat

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

VictorHug0 avatar Sep 26 '18 23:09 VictorHug0