The wiki page was successfully created. Add a link to this page by inserting [Package Id Specification] into your wiki markup.

Package Id Format

Package Ids must meet conform to the following package id specification.

  1. Package IDs consist of one or more segments separated by one of the following separator characters: - . _
  2. A segment may only consist of alphanumeric characters. 

The following regular expression describes the package id specification (ignoring case).

 

^[a-z0-9]+([_.-][a-z0-9]+)*$

Examples

Valid IDs

  • hello
  • i.am.a.valid.id
  • nuget-core_is.cool
  • 123.456.789

Invalid IDs

  • hello._there
  • i.am.not.valid.
  • _neitherami
  • bad..id

Last edited Dec 22, 2010 at 4:31 PM by Haacked, version 1