.net - How do I publish multiple NuGet packages from a single solution in TeamCity? -


i have visual studio 2015 solution 3 c# projects depend on each other:

project -> project b -> project c

i each of these projects have own independently versioned nuget packages in teamcity. automatically build , publish nuget packages downstream projects.

for example, assuming projects start @ version 1.0.0.1, if project updated v1.0.0.1 v1.0.0.2, project b should incremented v1.0.0.2 , rebuilt reference project v1.0.0.2, in turn triggers project c incremented v1.0.0.2 , rebuilt reference project v1.0.02 , project b v1.0.02.

but if project c updated v1.0.0.2 v1.0.0.3 in isolation, neither project nor project b should built , versions numbers should not incremented.

i aware of -includereferencedprojects nuget option, not sure how prevent teamcity patching assemblyversioninfos of upstream projects.

is there way in teamcity or there alternative solution problem?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -