Nuget packages with FrameworkAssembly nodes not working #1306

Closed
mterwoord opened this Issue Dec 13, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@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.

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Dec 13, 2015

Member

Do you have a concrete repro case?
On Dec 13, 2015 12:41, "Matthijs ter Woord" notifications@github.com
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.

Member

forki commented Dec 13, 2015

Do you have a concrete repro case?
On Dec 13, 2015 12:41, "Matthijs ter Woord" notifications@github.com
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.

@mterwoord

This comment has been minimized.

Show comment
Hide comment
@mterwoord

mterwoord Dec 13, 2015

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

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

@mterwoord

This comment has been minimized.

Show comment
Hide comment
@mterwoord

mterwoord Dec 13, 2015

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.

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.

@forki forki added the bug label Dec 13, 2015

@forki forki closed this in 53a9469 Dec 13, 2015

@mterwoord

This comment has been minimized.

Show comment
Hide comment
@mterwoord

mterwoord Dec 13, 2015

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

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