How to launch Team City AssemblyInfo patcher after a specific build step

The usual process when creating a project is that the AssemblyInfo patcher starts after all the files have been transferred from the original control.

We have a problem with this when using CodeSmith. The problem is that we have two stages of assembly.

Step 1 - Run the CodeSmith Template

This creates a Visual Studio solution.

Step 2 - Creating a Visual Studio Project

This generates our assembly.

We want to run the AssemblyInfo patcher after step 1 completes, since the AssemblyInfo.cs file will not be created until the CodeSmith templates generate it.

Is there any way to do this?

We use TeamCity 7.0.3 and Visual Studio 2010 (SP1) on Windows 7.

Thank.

+3
3

.

1:

  • CodeSmith

2:

  • AssemblyInfo
+1

, :

  • csp Visual Studio ( vs). , Generate on Build. , , team.

  • , . , , team.

  • MsBuildCommunityTasks, CodeSmith. AssemblyInfo .

-

0

I had the same problem, I found a solution here (using build dependencies) fooobar.com/questions/383801 / ...

0
source

All Articles