I need to create a build that is schedule from TFS 2010 and does the following:
- Get latest source
- Compile the project
- Check AssemblyInfo.cs files out and increment the version using Msbuild.ExtensionPack
- Check the files back in
- Deploy the Database project against a target database
- Run unit tests
I am thinking of putting all these steps into one of my project's .csproj files and scheduling the build from Visual Studio using Team Explorer. Is this a good strategy? In preparation to this, I tested out the MSBuild.ExtensionPack.VistualStudio.TfsSource Checkout, and I get an error on my assembly files with the following message:
c:\_dev\NDA\API\API.csproj : warning : Exit Code 1. Partial success: No matching items found in c:\_dev\nda\API\Properties\AssemblyInfo.cs in your workspace.
However, if I run tf checkout from command line, it works fine. What could be causing this error?
Thanks!