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 for Multi-Module projects .nuspec Dependencies #63

Open
martin1yness opened this issue May 14, 2018 · 1 comment
Open

Support for Multi-Module projects .nuspec Dependencies #63

martin1yness opened this issue May 14, 2018 · 1 comment

Comments

@martin1yness
Copy link

Problem:
Unable to link .NET library projects together into published NuGet package

Summary:
Common processes in Java projects build with Gradle/Maven include multi-module solutions deploying multiple JARs linked together by a POM.XML. This dependency management feature is mirrored in NuGet but is not supported by the NuGet gradle plugin.

Proposal:
Add support for dependencies in the .NuSpec: https://docs.microsoft.com/en-us/nuget/reference/nuspec#dependencies by searching all dependent project references that apply the nuget plugin. Look up artifact's nuget publishing metadata and use to define as same version dependency in the .nuspec

@timotei
Copy link
Contributor

timotei commented Jun 7, 2018

@martin1yness If it help, you can set the nuspecFile to an existing (base) spec file and it will use that info for the generated nuspec.

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