2
Vote

Allow no libs to be referenced

description

This is not fixed: https://nuget.codeplex.com/workitem/263

Use-case: creating a package with dlls in the lib folder but you want neither one referenced in the target project by default.

Workaround (easiest): add a single reference in the <references> tag that is not a dll (like a .js file). This will be omitted when adding references but since your <references> is non-empty, no dll references will be added.

Suggested solution: take an empty <references /> declaration literally and don't add any references from lib automatically.

comments