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:
- copying project dll specific folder (lib folder of nuget package)
- updating nuspec file new file version (my project increasing file version on every build)
- 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
Post a Comment