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

Add references section to paket.template file #721

Closed
sergey-tihon opened this issue Mar 25, 2015 · 4 comments
Closed

Add references section to paket.template file #721

sergey-tihon opened this issue Mar 25, 2015 · 4 comments

Comments

@sergey-tihon
Copy link
Member

NuGet nuspec allow to specify list of files that should be added to consumer project references (subset of files in lib folder), but paket.template does not support it now.

We need such functionality for Type Providers.
For example RProvider:
https://github.com/BlueMountainCapital/FSharpRProvider/blob/master/nuget/RProvider.nuspec#L21-L24

Package contains 5 assemblies:

  • RProvider.dll
  • RProvider.DesignTime.dll
  • RProvider.Runtime.dll
  • RProvider.Server.exe
  • FSharp.Core.dll

but only two should be referenced:

  • RProvider.dll
  • RProvider.Runtime.dll

We could not reference RProvider.DesignTime.dll because in this case we have no time to register AssemblyResolve event handler to redirect binding to RDotNet.dll. More details are here.

The same situation is in DynamicsCRMProvider I'm working on now.
fsprojects/DynamicsCRMProvider#5

Would be nice to support this case in Paket. // @mavnn @forki

@forki
Copy link
Member

forki commented Mar 26, 2015

someone already working on this?

@sergey-tihon
Copy link
Member Author

Not me. Did it using Nuspec in DynamicsCRMProvider.

@forki forki closed this as completed in f31cf82 Mar 27, 2015
@forki
Copy link
Member

forki commented Mar 27, 2015

could you please try to use Paket 0.36?

TODO: I forgot to add it to the docs.

@sergey-tihon
Copy link
Member Author

It works. Thanks!

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

No branches or pull requests

2 participants