STUPIDLY difficult to discover how to do this:
1. Generate a nuget package with a version string
2. Copy it to a local feed
3. Delete the source package
I do this all the time but it's crazy hard to work out how for local dev.
*Note you can add a condition to this so it only executes given a condition too; so it won't break a CI build :)