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

installation via nuget fails in a .NET 4.0 project #62

Closed
bartcallewaert opened this issue Jun 26, 2014 · 3 comments
Closed

installation via nuget fails in a .NET 4.0 project #62

bartcallewaert opened this issue Jun 26, 2014 · 3 comments

Comments

@bartcallewaert
Copy link

Hi,

I get an error when I Try to install FeatureToggle in a .NET 4.0 project. Can this package only be installed in a .NET 4.5 project?

error message:

Attempting to resolve dependency 'FeatureToggle.Core (≥ 2.2.0)'.
Installing 'FeatureToggle.Core 2.2.0'.
Successfully installed 'FeatureToggle.Core 2.2.0'.
Installing 'FeatureToggle 2.2.0'.
Successfully installed 'FeatureToggle 2.2.0'.
Adding 'FeatureToggle.Core 2.2.0' to ....
Uninstalling 'FeatureToggle.Core 2.2.0'.
Successfully uninstalled 'FeatureToggle.Core 2.2.0'.
Install failed. Rolling back...
Could not install package 'FeatureToggle.Core 2.2.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. For more information, contact the package author.

@bartcallewaert bartcallewaert changed the title installation via nuget does not work installation via nuget fails in a .NET 4.0 project Jun 26, 2014
@jason-roberts
Copy link
Owner

Hi, currently support is provided for 4.5.1 - I'm looking in a future release to see what a "downgrade" to 4 will be like to allow wider support: #33 feel free to comment on that issue - the more people want it the more I will prioritize it :)

Cheers
Jason

@jason-roberts
Copy link
Owner

Look like I can sort .Net 4 support before v3. The PCL FeatureToggle.Core was targeting net45 when it only needs to be .net40.

Need to pub new core NuGet

@jason-roberts jason-roberts reopened this Jun 28, 2014
@jason-roberts
Copy link
Owner

@lankarden hi, just released 2.2.1 - this should allow .Net 4 installation. Sorry for the confusion.

jason-roberts added a commit that referenced this issue Jun 28, 2014
jason-roberts added a commit that referenced this issue Jun 28, 2014
jason-roberts added a commit that referenced this issue Mar 12, 2015
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