Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Could not install package '--'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5'

$
0
0

I created this package, I need it in a project but couldn't install it, this error appears:

Could not install package 'Mshwf.NiceLinq 1.0.9'. You are trying to install this package into a project that targets'.NETFramework,Version=v4.5', 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

I don't know why this happen, in another project (Console) I changed the framework to 4.6 and other versions and it wasn't a problem, but this only happen in this project (MVC and Web API):

this is the nuspec file:

<?xml version="1.0"?><package ><metadata><id>Mshwf.NiceLinq</id><version>1.0.9</version><title>Nice LINQ</title><authors>MShawaf</authors><owners>Mshawaf</owners><projectUrl>https://github.com/mshwf/NiceLinq</projectUrl><iconUrl>https://raw.githubusercontent.com/mshwf/NiceLinq/master/logo.png</iconUrl><requireLicenseAcceptance>false</requireLicenseAcceptance><description>See it as: WHERE ID IN (1, 2, 3, 7, 9, 22, 30, 101)</description><releaseNotes>Minor changes.</releaseNotes><copyright>Copyright 2016</copyright><tags>LINQ IEnumerable Where Contains Search Filter</tags></metadata></package>

Viewing all articles
Browse latest Browse all 3067

Trending Articles