Note that there are some explanatory texts on larger screens.

plurals
  1. POCreating zipped artefacts and versioning with TeamCity
    primarykey
    data
    text
    <p>I am using TFS 2010 with TeamCity 8. Its a dot net solution.</p> <p>I need three things. </p> <p>1- Assemblies should be verisoned like this: <code>4.3.[tfs revision number].[counter]</code>.</p> <p>(i.e. Assembly File Version and Assembly Product Version.)</p> <p>2- The solution structure looks like this:</p> <pre><code> Root folder -&gt; solution.sln Root folder -&gt; proj1 -&gt; proj1.proj Root folder -&gt; proj2 -&gt; proj2.prj Root folder -&gt; several other projects </code></pre> <p>Please note that proj1 is an asp.net web application and proj2 is a wcf service.</p> <p>I want to create two zip files on the server <code>\\myserver\teamcityartefact\proj1.zip</code> and <code>\\myserver\teamcityartefact\proj2.zip</code>.</p> <p>3- I also want to make sure that the release configuration is used to build the artefacts.</p> <p><strong>Is there any thorough walk-through you can recommend?</strong></p> <p>Settings: The build step settings are: Runner type: Visual Studio (sln). Solution file path: solution.sln. Visual Studio: Microsoft Visual Studio 2013. Targets: Clean;Rebuild;Publish; Configuration: Release.</p> <hr> <p>What have I tried so far:</p> <p>a. Artifact Paths: <code>*.* =&gt; \\myserver\teamcityartefact\proj1.zip</code></p> <p>But that creates four files in the zip file. solution.sln, solution.sln.metaproj, solution.sln.metaproj.tmp and solution.vssscc.</p> <p>b. Artifact Paths: <code>proj1\**\*.* =&gt; projA</code> and <code>proj2\**\*.* =&gt; projB</code> returns me all the files in the projects. These are not pre-compiled published files. The build step settings are: Runner type: Visual Studio (sln). Solution file path: solution.sln. Visual Studio: Microsoft Visual Studio 2013. Targets: Clean;Rebuild;Publish; Configuration: Release.</p> <p>c. proj1**\bin***.* => projA.zip returns me the contents of the bin folder. Its an asp.net application.</p> <p>d. I am sure the release configuration is not being used as the webconfig is not transformed.</p> <p>e.The build number format of assemblies in the bin folder at the moment is 1.0.0.0.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload