c# - Updating local nuget package on post-build event -


i have local nuget library repository separately both personal , work releted class libraries.

i have created of nuget packages libraries no longer in development. did them because not know how update them automatically project builds.

i have figured work being done nuget command line visual studio command prompt. can work needed (of course know commands , not !)

basically want following tasks execute on post-build event of project.

on project build:

  1. copying project dll specific folder (lib folder of nuget package)
  2. updating nuspec file new file version (my project increasing file version on every build)
  3. creating new nupkg file new file version

phil haack shows of feature still prototype far can tell.

so requirement above. has else accomplished this?

jeremy skinner has written a blog post on how performs automated builds of packages , uploads them nuget gallery. think matches requirements.

basically uses msbuild apply version (with msbuild community extensions updatexml task) nuspec file , invoke nuget.exe package up.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -