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 packages with FrameworkAssembly nodes not working #1306

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

Nuget packages with FrameworkAssembly nodes not working #1306

mterwoord opened this issue Dec 13, 2015 · 4 comments
Labels

Comments

@mterwoord
Copy link

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
Copy link
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
Copy link
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.

@mterwoord
Copy link
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.

@forki forki added the bug label Dec 13, 2015
@forki forki closed this as completed in 53a9469 Dec 13, 2015
@mterwoord
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants