0

I have created a build definition variable which should contain my AssemblyInfo version. I want to set $(BuildId) as a last version. How can I do it? I tried to set default value to "1.0.0.$(BuildId)" and to String.Format("1.0.0.{0}", $(BuildId)) but both ways fail.

1 Answer 1

1

You have to create custom activities to do that, check out, edit version number then check in. You can follow Customize Team Build 2010 – Part 5: Increase AssemblyVersion to do it. Anyway, I recommend you read and follow all 16 parts in that list.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.