question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package metadata to unlist the package by default

See original GitHub issue

Some packages are there merely to serve as common dependencies for several other packages, and aren’t useful to be listed for public consumption (because there is no public API in those packages, for example).

It would be great if there were a .nuspec xml element, like <DependencyOnly>true</> or <Unlisted>true</> that would hide it from the public listen to avoid cluttering up the packages list.

See discussion here: http://nuget.codeplex.com/discussions/291138

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AArnottcommented, Feb 6, 2012

Even so, it seems like a <DependencyOnly> metadata in the nuspec file wouldn’t be misplaced. It is an aspect of several of my packages (not the way I upload them) that they have no public API and should never be added directly.

0reactions
StephenClearycommented, Apr 15, 2017

Is there a possibility of getting this in? Nuspec metadata works much better than a command line option in my case (AppVeyor).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metadata list for unlocked packages which one is ...
1 Answer 1 ... When you install the unlocked packages you have three specific options, ... Mixed (the default) specifies that listed components...
Read more >
Package Metadata, NuGet API
It is possible to fetch metadata about the packages available on a package source using the NuGet V3 API. This metadata can be...
Read more >
An error occurred while retrieving package metadata for
The solution (which works for me) is to delete the *** package(s) from the packages.config file (this is enough), and from the packages...
Read more >
Allow package metadata to be editable · Issue #807
Whenever I change an item in the package meta-data which is displayed on e.g. the nuget website, like the project url, I have...
Read more >
Packages overview - CodeArtifact
Unlisted – The package version's assets are available for download from the repository, but the package version is not included in the list...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found