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

Add validation rules for nuspec metadata #11

Open
imlucas opened this issue Feb 7, 2016 · 0 comments
Open

Add validation rules for nuspec metadata #11

imlucas opened this issue Feb 7, 2016 · 0 comments

Comments

@imlucas
Copy link

imlucas commented Feb 7, 2016

Forked from #6.

We need to provide clean error messages before we get to spawning binaries. For example, in #6 we need to cleanly indicate the problem is spaces in the package id cannot include whitespace. From the nuspec docs the package id is:

The unique identifier for the package. This is the package name that is shown when packages are listed using the Package Manager Console. These are also used when installing a package using the Install-Package command within the Package Manager Console. Package IDs may not contain any spaces or characters that are invalid in an URL. In general, they follow the same rules as .NET namespaces do. So Foo.Bar is a valid ID, Foo! and Foo Bar are not.

As well, we should make the app model should make the default conform to the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant