I'm really new to C# and TFS, I've setup a basic WPF app that uses continuous integration. The problem is that some users are not updating when they should, and we have no versioning control so to speak of. What I want to do is have a variable in the code like this.
public static string BuildNumber = "";
And have it populated during the online build process. That way we can show it in the title bar and when they call, we know instantly what we are dealing with. I assume this can be done in the “process variables” section. But really need step by step help here. Just want it to have the same format as the build that is “$(date:yyyyMMdd)$(rev:.r)_$(SourceBranchName)” We are really new to this and know that we should be using proper build versions like 1.0.0.1 type thing. But are just really looking for a quick fix. So unless setting up proper versioning is really easy. Please don’t try and steer me down that path, already on a steep learning curve here.
Thanks.