Geeks With Blogs
Solid development Don’t make excuses for code, let it speak for itself
This article describes how to integrate NUnit tests into the TFS build. It also supplies a link to a XSLT file for the conversion between the NUnit results to an MSTest format. The result is great; in the details of the Build Explorer you will see the number of Passed, Failed and Other Result tests. However, when you click the results you will see that ......

Beware of a warning that may occur during a Team Build that indicates that a dependent project is missing in a solution. Note that the warning will not appear in the ErrorsAndWarnings.txt because that only reports the errors and warnings from compilation itself and not those specific to MSBuild. The warning found in BuildLog.txt is: SomeSolution.sln ......

Sometimes a LINQ query or other method returns a nested collection but you just want one big collection instead. SelectMany is the answer, see the code below. It can off course also be combined with OrderBy or Distinct if you prefer. List<List<double>> nestedList = new List<List<double>> { new List<double> { 1.2, 2.4 }, ......

Build fails from some strange reason or build does not perform the things you expect it to do, what to do? Every team build in the TeamBuildTypes folder contains a TFSBuild.rsp file, perform a check out and add the following command argument to it: /v:diag Check the file in and run the build; beware that the log size increases dramatically. The build ......

Copyright © martin | Powered by: GeeksWithBlogs.net