![]() Proj fileģ: Define location of script file in projectĤ : Add (or merge) the following target into your. I used this one.Ģ : Place the following Include in your MSbuild. you run a Powershell script during the build process, and update the WiX file whilst it is being built.ġ : you need to get a MSBuild task that can invoke Powershell. The problem was that I had a WiX project that built the MSI, and there was no automatic way to pick up this assembly value and put it in as a variable. ![]() If the build is ultimately successful, it will then check this file back into source control with the new version. Each time a build is kicked off, this task will go check out an AssemblyInfo.cs file of your choosing, and increment the assembly version number inside it. ![]() We are using AssemblyInfoTask in the build project. It seems like when anyone creates a cool Powershell script in 5 lines of code, there will be some RegEx ninja who will jump in and splice it into 1.5 lines. ![]() Well, there was one thing, but I was somewhat ashamed to show it. Things have been quiet on this blog regarding Team Foundation Server… this isn’t from lack of interest, merely that the server is doing a great job taking care of itself and thereby leaving me to get on with other pleasures… such as documentation of project process.
0 Comments
Leave a Reply. |