Skip to content

Nuget packages with FrameworkAssembly nodes not working #1306

Closed

Description

@mterwoord

I have nuget packages which (only) contain frameworkAssemblies references. paket seems to process the assemblies fine, but doesn't add references to the projects.

Activity

  1. forki commented on Dec 13, 2015

    @forki
    Member

    Do you have a concrete repro case?
    On Dec 13, 2015 12:41, "Matthijs ter Woord" [email protected]
    wrote:

    I have nuget packages which (only) contain frameworkAssemblies references.
    paket seems to process the assemblies fine, but doesn't add references to
    the projects.

    —
    Reply to this email directly or view it on GitHub
    #1306.

  2. mterwoord commented on Dec 13, 2015

    @mterwoord
    Author

    Well, We have third party dependencies which we packaged "in" nuget packages. I'll see If i can come up with an isolated sample.

  3. mterwoord commented on Dec 13, 2015

    @mterwoord
    Author

    Here it is. I have the following package in a private repository:

    <?xml version="1.0"?>
    <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
      <metadata>
        <id>TempPkg</id>
        <version>0.1</version>
        <title>TempPkg</title>
        <authors>MtW</authors>
        <owners>MtW</owners>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <description>TempPkg</description>
        <language />
        <dependencies>
        </dependencies>
        <frameworkAssemblies>
          <frameworkAssembly assemblyName="System.Xaml" />
        </frameworkAssemblies>
      </metadata>
    </package>
    

    When I add it to a project using paket add nuget TempPkg project PaketTest, the reference doesn't show up.
    Note, PaketTest is a .net 4.5 console app in my testing.

  4. mterwoord commented on Dec 13, 2015

    @mterwoord
    Author

    Verified. My test project works now. Now only have to test it in my actual project.. :)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions