bobvanderlinden / sharpfilesystem

A virtual file system for .NET written in C#
MIT License
282 stars 69 forks source link

Add .nuspec, nuget-pack script, and some publish guidelines. #6

Closed binki closed 8 years ago

binki commented 8 years ago

Hopefully these changes should make publishing to nuget straighforward.

Please let me know what you think of these changes. If there are any particular changes I can make to make publishing a nuget package easier, let me know. Or if you have any questions about why I did things a certain way. Some stuff I have opinions on, some stuff I may have completely missed. Some things really just depend on how you want to do things ;-). Hopefully this is a starting point or gets you closer to having official nuget packages ^^.

bobvanderlinden commented 8 years ago

It has been rebased and merged. I additionally made some changes to make nuget work with appveyor and let appveyor deploy the built packages. It seemed this was the best way to go to get stable builds. I usually also work on a Linux system where builds are done using mono. I wasn't convinced mono and .net both generated the same packages, so AppVeyor will now be used exclusively.

For deployments nuget packages I've included the buildnumber of appveyor. I also made sure the AssemblyVersion is not updated by appveyor, as you rightfully mentioned that version shouldn't change much.

Thanks for your contribution!