tonerdo / pose

Replace any .NET method (including static and non-virtual) with a delegate
MIT License
1.08k stars 75 forks source link

Bug? Nuget install fails due to incompatibility with .Net 4.5.2 #40

Closed dphseven closed 5 years ago

dphseven commented 5 years ago

On trying to install the nuget package for v1.2.1, I get this error output:

Attempting to gather dependency information for package 'Pose.1.2.1' with respect to project 'VitaeUnitTests', targeting '.NETFramework,Version=v4.5.2' Gathering dependency information took 21.36 ms Attempting to resolve dependencies for package 'Pose.1.2.1' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'Pose.1.2.1' Resolved actions to install package 'Pose.1.2.1' Retrieving package 'Pose 1.2.1' from 'nuget.org'. Install failed. Rolling back... Package 'Pose.1.2.1' does not exist in project 'VitaeUnitTests' Package 'Pose.1.2.1' does not exist in folder 'C:\Users\dphse\source\repos\Vitae\packages' Executing nuget actions took 730.28 ms Could not install package 'Pose 1.2.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', 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. Time Elapsed: 00:00:00.9346504 ========== Finished ==========

Is there a version support issue, or am I mucking something up?

dphseven commented 5 years ago

I was able to get around this by targeting my app to .Net 4.6.1.