Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

net46 version from nuget is actually built against .NET 4.6.1 #379

Closed
PawelTroka opened this issue Jan 14, 2017 · 3 comments
Closed

net46 version from nuget is actually built against .NET 4.6.1 #379

PawelTroka opened this issue Jan 14, 2017 · 3 comments

Comments

@PawelTroka
Copy link

I have updated Accord.Math library from nuget from version 3.3.0 to version 3.4.0 and my project stopped compiling. It seems like "binary packages\Accord.3.4.0\lib\net46\Accord.dll" is actually built against .NET 4.6.1 not 4.6.

Severity Code Description Project File Line Suppression State
Warning The primary reference "Accord.Math, Version=3.4.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "Accord, Version=3.4.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7" which was built against the ".NETFramework,Version=v4.6.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6". C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets 1820

@PawelTroka PawelTroka changed the title net46 version is actually built against .NET 4.6.1 net46 version from nuget is actually built against .NET 4.6.1 Jan 14, 2017
@cesarsouza
Copy link
Member

cesarsouza commented Jan 14, 2017

Ouch, sorry about that. Would it be feasible to have your project upgraded to 4.6.1 in the meantime?

cesarsouza added a commit that referenced this issue Jan 14, 2017
@PawelTroka
Copy link
Author

I need to stay on NET46 because it is the last version Windows Vista supports. For now I just reverted back to using Accord 3.3.0 so there is no problem from my side - I just wanted to help by reporting what I have spotted.

cesarsouza added a commit that referenced this issue Jan 15, 2017
- Updating projects that were targetting 4.5.2 or 4.6.1 to target 4.5 and 4.6 respectively;

Updates GH-379
@cesarsouza
Copy link
Member

Fixed in 3.5.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants