Skip to content

snupkgs rejected by nuget.org if the DLLs are contentFiles #1462

@jherby2k

Description

@jherby2k

I have a number of "plugin" libraries that are lazy-loaded at runtime. The only way i could get these libraries working as intended via nuget was to pack the DLLs as contentFiles so they wouldn't be linked automatically (if someone has a better suggestion i'm all ears).

Anyway, the only problem is that my .snupkg files won't upload to nuget.org:

The uploaded symbols package contains pdb(s) for a corresponding dll(s) not found in the nuget package

I have no idea if they'd actually "work" or not since there is no way to test snupkgs to my knowledge without uploading them.

Here is an example:

Pack.nuspec on GitHub

AudioWorks.Extensions.Opus.2.1.0.nupkg.txt
AudioWorks.Extensions.Opus.2.1.0.snupkg.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions