You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a split of an original issue #68 which, after some analysis breaks out into more than one problem.
I'm using latest of Microsoft.AspNet.WebApi which (indirectly) pulls in Microsoft.Net.Http. NPE shows it's lib has:
The lib subdirs I've expanded do not have a a System.Net.Http.dll (all the others I've collapsed have) but the default paket install behavior uniformly adds:
This clashes with the framework reference I need to add (which #145 should really be adding) yielding:
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
The description alludes to this by saying
This package is not supported in Visual Studio 2010, and is only required for projects targeting .NET Framework 4.5, Windows 8, or Windows Phone 8.1 when consuming a library that uses this package.
The current workaround is to be very careful when switching platform from 4.0 <-> 4.5/4.5.1 to
add the FW assembly reference (<Reference Include="System.Net.Http" />) and delete the Paketprovided reference when going to 4.5
remove the <Reference Include="System.Net.Http" /> AND remember to re-paket install when going to 4.0
The only solution I can see is that Paket needs to start picking the TargetFramework it's going to apply in a context and then using that to manage the complete set of files rather than treating each file individually.
The text was updated successfully, but these errors were encountered:
This is a split of an original issue #68 which, after some analysis breaks out into more than one problem.
I'm using latest of
Microsoft.AspNet.WebApi
which (indirectly) pulls inMicrosoft.Net.Http
. NPE shows it'slib
has:The lib subdirs I've expanded do not have a a
System.Net.Http.dll
(all the others I've collapsed have) but the defaultpaket install
behavior uniformly adds:This clashes with the framework reference I need to add (which #145 should really be adding) yielding:
The description alludes to this by saying
The current workaround is to be very careful when switching platform from 4.0 <-> 4.5/4.5.1 to
<Reference Include="System.Net.Http" />
) and delete thePaket
provided reference when going to 4.5<Reference Include="System.Net.Http" />
AND remember to re-paket install
when going to 4.0The only solution I can see is that Paket needs to start picking the TargetFramework it's going to apply in a context and then using that to manage the complete set of files rather than treating each file individually.
The text was updated successfully, but these errors were encountered: