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

NuGet Pack with assembly references support #2499

Closed
WebDucer opened this issue Mar 14, 2019 · 1 comment · Fixed by #2516
Closed

NuGet Pack with assembly references support #2499

WebDucer opened this issue Mar 14, 2019 · 1 comment · Fixed by #2516
Milestone

Comments

@WebDucer
Copy link

WebDucer commented Mar 14, 2019

What You Are Seeing?

With current NuGetPackSettings it is not possible to add assembly references to the NuGet package.

What is Expected?

Possibility to add assembly references to NuGet package (like with NuSpecDependency for NuGet dependencies of the package).

What version of Cake are you using?

  • 0.32.1

Are you running on a 32 or 64 bit system?

  • x64

What environment are you running on? Windows? Linux? Mac?

  • Win 10
  • macOS

Are you running on a CI Server? If so, which one?

  • GitLab CI

XML example

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
  <metadata>
    <id>RSAG.Xam.RtfEditor</id>
    <version>0.1.0-alpha0005</version>
    <title>RTF edit and view controls</title>
...
    <dependencies>
      <group targetFramework=".NETStandard2.0">
        <dependency id="Syncfusion.Xamarin.DocIO" version="16.4.0.54" />
        <dependency id="Xamarin.Forms" version="3.4.0.1029999" />
      </group>
      <group targetFramework="MonoAndroid5.0">
        <dependency id="Syncfusion.Xamarin.DocIO" version="16.4.0.54" />
        <dependency id="Xamarin.Forms" version="3.4.0.1029999" />
      </group>
      <group targetFramework="Xamarin.iOS1.0">
        <dependency id="Syncfusion.Xamarin.DocIO" version="16.4.0.54" />
        <dependency id="Xamarin.Forms" version="3.4.0.1029999" />
      </group>
      <group targetFramework="UAP0.0">
        <dependency id="Microsoft.NETCore.UniversalWindowsPlatform" version="6.2.7" />
        <dependency id="Syncfusion.Xamarin.DocIO" version="16.4.0.54" />
        <dependency id="Xamarin.Forms" version="3.4.0.1029999" />
      </group>
    </dependencies>
    <frameworkAssemblies>
      <frameworkAssembly assemblyName="Mono.Android.Export" targetFramework="MonoAndroid1.0" />
    </frameworkAssemblies>
  </metadata>
</package>
@daveMueller
Copy link
Contributor

Here is a pull request for this #2516 . Would be cool if somebody will review.

@devlead devlead added this to the v0.34.0 milestone Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants