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

Support (Conditional) Framework Assembly References #146

Closed
bartelink opened this issue Sep 22, 2014 · 1 comment
Closed

Support (Conditional) Framework Assembly References #146

bartelink opened this issue Sep 22, 2014 · 1 comment

Comments

@bartelink
Copy link
Member

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. It's .nuspec has:

  <frameworkAssemblies>
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http.WebRequest" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoTouch0.0" />
      <frameworkAssembly assemblyName="System.Net.Http" targetFramework="MonoAndroid0.0" />
    </frameworkAssemblies>

The current workaround is to add the reference manually on 4.5 / 4.5.1.

The current problem with that workaround is that #145 clashes with this and puts in a reference to the net40 version of the assembly if it's absent at paket install time.

Related: #140 (similar conditions on NuGet package references)
Related: #154 (file pakets should be able to specify framework requirements too)

@forki
Copy link
Member

forki commented Jan 31, 2015

Already fixed

@forki forki closed this as completed Jan 31, 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