<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Your Daily Mark.Net</title><subtitle type="html">&lt;br /&gt;Treat others as you want to be treated</subtitle><id>http://bloggingabout.net/blogs/mark/atom.aspx</id><link rel="alternate" type="text/html" href="http://bloggingabout.net/blogs/mark/default.aspx" /><link rel="self" type="application/atom+xml" href="http://bloggingabout.net/blogs/mark/atom.aspx" /><generator uri="http://communityserver.org" version="4.1.40407.4157">Community Server</generator><updated>2007-07-31T11:15:00Z</updated><entry><title>Every build you break</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/04/01/every-build-you-break.aspx" /><id>/blogs/mark/archive/2008/04/01/every-build-you-break.aspx</id><published>2008-04-01T07:38:14Z</published><updated>2008-04-01T07:38:14Z</updated><content type="html">&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=458110" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Redirecting the copy of output assemblies for individual solutions</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/03/05/redirecting-the-copy-of-output-assemblies-for-individual-solutions.aspx" /><id>/blogs/mark/archive/2008/03/05/redirecting-the-copy-of-output-assemblies-for-individual-solutions.aspx</id><published>2008-03-05T07:31:11Z</published><updated>2008-03-05T07:31:11Z</updated><content type="html">I search the net for a while for this problem:
We using tfs build to perform a daily build. 
The following tasks are performed in the build:
&lt;ol&gt;
&lt;li&gt;Run all tests&lt;/li&gt;
&lt;li&gt;Update assembly info&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
The solution contains the following elements:
&lt;ul&gt;
&lt;li&gt;Web services&lt;/li&gt;
&lt;li&gt;Client application&lt;/li&gt;
&lt;li&gt;three windows services&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
So the solution contains 5 applications. What I was looking for is a way to use the tfsbuild to perform a build and as output to spit the binaries to seperated directories. That helps a lot with deployment. &lt;br /&gt;
The core of the problem is that i want to have a single build type in tfs with multiple solutions and multiple output directories. A feature that tfsbuild not support.&lt;br /&gt;
And finally I found a post that solves this problem.
&lt;a href="http://blogs.msdn.com/manishagarwal/default.aspx"&gt;Manish Agarwal&lt;/a&gt; write a post: &lt;a href="http://blogs.msdn.com/manishagarwal/archive/2006/03/24/559693.aspx"&gt;Redirecting the copy of output assemblies for individual solutions to specified subfolders at drop site in Team Build&lt;/a&gt;.&lt;br /&gt;
I implemented it in my build and it solves my problem...
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=458000" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term="Team Foundation Server" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+Foundation+Server/default.aspx" /><category term="Team build" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+build/default.aspx" /></entry><entry><title>No time to read and try</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/03/03/no-time-to-read-and-try.aspx" /><id>/blogs/mark/archive/2008/03/03/no-time-to-read-and-try.aspx</id><published>2008-03-03T10:11:30Z</published><updated>2008-03-03T10:11:30Z</updated><content type="html">There are a couple of articles I want to read and try it out in a project. But I don&amp;#39;t have the time.... :-( 
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc135974.aspx"&gt;Around the World with ASP.NET AJAX Applications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc135976.aspx"&gt;HTTP Programming with WCF and the .NET Framework 3.5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc135981.aspx"&gt;Advanced Unit Testing, Object Mocking, Profiling Your Apps and More &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc135984.aspx"&gt;Customize Controls with AJAX Extenders&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc136759.aspx"&gt;Integrating the Policy Injection Application Block with WCF Services&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc163283.aspx"&gt;Powerful Text Editing, Web Testing in .NET, Extended Unit Testing, and More &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc163288.aspx"&gt;The Microsoft UI Automation Library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc184843.aspx"&gt;Customize Controls with AJAX Extenders, Part 2 &lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457988" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Unit test papers</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/30/unit-test-papers.aspx" /><id>/blogs/mark/archive/2008/01/30/unit-test-papers.aspx</id><published>2008-01-30T10:38:18Z</published><updated>2008-01-30T10:38:18Z</updated><content type="html">I found some nice papers about unit test and my &lt;a href="http://bloggingabout.net/blogs/mark/archive/2008/01/30/object-mothers.aspx"&gt;previous post&lt;/a&gt;.&lt;br /&gt;
&lt;a href="http://www.xprime.com.au/~gerard/xpau2003-test-automation-manifesto-paper.pdf"&gt;The Test Automation Manifesto&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://fastertestspaper.gerardmeszaros.com/"&gt;Increasing the Effectiveness of Automated Testing&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.clrstream.com/index.php?option=com_docman&amp;amp;Itemid=68"&gt;A collection of papers.&lt;/a&gt;&lt;br /&gt;
&lt;div class="bjtags"&gt;Tags:  &lt;a rel="tag" href="http://technorati.com/tag/unit+test"&gt;unit+test&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457819" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Object Mothers</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/30/object-mothers.aspx" /><id>/blogs/mark/archive/2008/01/30/object-mothers.aspx</id><published>2008-01-30T07:07:57Z</published><updated>2008-01-30T07:07:57Z</updated><content type="html">When you are writing unit tests for a system, you need often a lot of test data. The creation of the data takes place in &lt;a href="http://en.wikipedia.org/wiki/Test_fixture"&gt;the test fixture&lt;/a&gt;. If I want to test the handling of a order then I need to create a customer, products, categories, shipping and so on. That is test data only for a order. But you want also test customer. And Product. For those classes you also need test data. Why don&amp;#39;t reuse the test data of order. Well &lt;a href="http://www.xpuniverse.com/2001/pdfs/Testing03.pdf"&gt;this paper about object mothers&lt;/a&gt; is very interesting. And we use it in your project. &lt;br /&gt;And this book about unit testing, &lt;a href="http://xunitpatterns.com/"&gt;xunit patterns&lt;/a&gt; is a recommendation. &lt;a href="http://xunitpatterns.com/"&gt;&lt;img src="http://xunitpatterns.com/Cover-Small.gif" alt="" /&gt;&amp;lt;&amp;gt;&lt;/a&gt;&lt;div class="bjtags"&gt;Tags:  &lt;a rel="tag" href="http://technorati.com/tag/xunit+test"&gt;xunit+test&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/object+mother"&gt;object+mother&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457818" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Patterns And Software factories.</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/21/patterns-and-software-factories.aspx" /><id>/blogs/mark/archive/2008/01/21/patterns-and-software-factories.aspx</id><published>2008-01-21T08:03:41Z</published><updated>2008-01-21T08:03:41Z</updated><content type="html">&lt;p&gt;Software factories and patterns. Dayly I get confrontated with them.&lt;br /&gt;We developing a application according to &lt;a href="http://msdn2.microsoft.com/en-us/library/aa480534.aspx"&gt;the Web service software factory&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/Aa480534.wssf_landingpage_f01(en-us,MSDN.10).gif"&gt;&lt;img height="400" src="http://msdn2.microsoft.com/en-us/library/Aa480534.wssf_landingpage_f01(en-us,MSDN.10).gif" width="424" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But now I found &lt;a href="http://msdn2.microsoft.com/en-us/library/aa905331.aspx"&gt;The EFx Architectural-Guidance Software Factory&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://msdn2.microsoft.com/en-us/library/Aa905331.EFxAGSftFtr05S(en-us,MSDN.10).gif"&gt;&lt;img height="303" src="http://msdn2.microsoft.com/en-us/library/Aa905331.EFxAGSftFtr05S(en-us,MSDN.10).gif" width="500" alt="" /&gt;&lt;/a&gt; &lt;br /&gt;That is also a very interesting factory. And as a client we desided not to use &lt;a href="http://msdn2.microsoft.com/en-us/library/aa480482.aspx"&gt;Smart Client Software Factory&lt;/a&gt; because of code maintenance and learning curve. But still it is very interesting...&lt;br /&gt;&lt;img src="http://msdn2.microsoft.com/en-us/library/Aa480482.01-scsf-challenges(en-us,MSDN.10).png" alt="" /&gt;&lt;br /&gt;
And all those facories uses a lot of patterns.

&lt;/p&gt;&lt;div class="bjtags"&gt;Tags:  &lt;a rel="tag" href="http://technorati.com/tag/.Net"&gt;.Net&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/Software+factory"&gt;Software+factory&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/Pattern"&gt;Pattern&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457777" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Silicon valley</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/21/silicon-valley.aspx" /><id>/blogs/mark/archive/2008/01/21/silicon-valley.aspx</id><published>2008-01-21T06:55:19Z</published><updated>2008-01-21T06:55:19Z</updated><content type="html">Well, where is Silicon valley? Yes I know near San Fransico. But this picture is nice.&lt;br /&gt;&lt;a href="http://www.gepus.com/images/siliconvalley.jpg"&gt;&lt;img height="529" src="http://www.gepus.com/images/siliconvalley.jpg" width="491" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;And what about this... &lt;br /&gt;&lt;a style="COLOR:#0000ff;TEXT-ALIGN:left;" href="http://maps.google.com/maps?f=q&amp;amp;hl=nl&amp;amp;time=&amp;amp;date=&amp;amp;ttype=&amp;amp;q=Pear+Ave,+Mountain+View,+Santa+Clara,+Californi%C3%AB+94043,+Verenigde+Staten&amp;amp;sll=37.407392,-122.029781&amp;amp;sspn=0.736321,1.2854&amp;amp;ie=UTF8&amp;amp;cd=2&amp;amp;geocode=0,37.415480,-122.075640&amp;amp;ll=37.427434,-122.08128&amp;amp;spn=0.005752,0.010042&amp;amp;t=h&amp;amp;z=14&amp;amp;om=0&amp;amp;layer=c&amp;amp;cbll=37.415483,-122.075725&amp;amp;source=embed"&gt;Grotere kaart weergeven&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457775" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>some articles about silverlight</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/16/some-articles-about-silverlight.aspx" /><id>/blogs/mark/archive/2008/01/16/some-articles-about-silverlight.aspx</id><published>2008-01-16T06:22:23Z</published><updated>2008-01-16T06:22:23Z</updated><content type="html">Where do i find the time to look at &lt;a href="http://silverlight.net/"&gt;silverlight&lt;/a&gt; and &lt;a href="http://wpf.netfx3.com/"&gt;wpf&lt;/a&gt;. &lt;br /&gt;
I want to play with it not only read about it. Look at &lt;a href="http://visualstudiomagazine.com/columns/columnist.aspx?columnistsid=60"&gt;these articles&lt;/a&gt; about &lt;a href="http://silverlight.net/"&gt;silverlight&lt;/a&gt;.&lt;br /&gt;
&lt;a href="http://xamlxaml.com/category/examples/"&gt;examples about wpf&lt;/a&gt; can be found here. &lt;div class="bjtags"&gt;Tags:  &lt;a rel="tag" href="http://technorati.com/tag/WPF"&gt;WPF&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/Silverlight"&gt;Silverlight&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/.net"&gt;.net&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=457052" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>.Net and Oracle</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/11/net-and-oracle.aspx" /><id>/blogs/mark/archive/2008/01/11/net-and-oracle.aspx</id><published>2008-01-11T07:03:59Z</published><updated>2008-01-11T07:03:59Z</updated><content type="html">The policy at &lt;a&gt;Corus&lt;/a&gt; is that as a database, use &lt;a&gt;Oracle&lt;/a&gt;. So to connect to the database with .net we don&amp;#39;t use the &lt;a href="http://msdn2.microsoft.com/en-us/library/system.data.oracleclient(VS.80).aspx"&gt;.NET Framework Data Provider for Oracle&lt;/a&gt; but the &lt;a href="http://www.oracle.com/technology/tech/windows/odpnet/index.html"&gt;Oracle Data Provider for .Net&lt;/a&gt;, ODP.NET. Because there is a lot of maintenance going on, the question I get is, ODP.Net does it contain a Oracle client? &lt;a href="http://www.oracle.com/technology/tech/windows/odpnet/faq.html"&gt;This article&lt;/a&gt; gives answers to a lot of the questions.&lt;div class="bjtags"&gt;Tags:  &lt;a rel="tag" href="http://technorati.com/tag/.Net"&gt;.Net&lt;/a&gt;, &lt;a rel="tag" href="http://technorati.com/tag/Oracle"&gt;Oracle&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=455657" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Specification pattern</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/11/specification-pattern.aspx" /><id>/blogs/mark/archive/2008/01/11/specification-pattern.aspx</id><published>2008-01-11T07:02:38Z</published><updated>2008-01-11T07:02:38Z</updated><content type="html">The last couple of days I&amp;#39;m learning a lot about the specification pattern. These links can helped me to understand and implement the pattern. &lt;br /&gt;
&lt;li&gt;&lt;a href="http://martinfowler.com/apsupp/spec.pdf"&gt;The specification pattern&lt;/a&gt; by Martin fowler. 
&lt;li&gt;&lt;a href="http://devlicio.us/blogs/jeff_perrin/archive/2006/12/13/the-specification-pattern.aspx"&gt;An example of the specification pattern&lt;/a&gt; by Jeff Perrin. 
&lt;li&gt;&lt;a href="http://blogs.interknowlogy.com/timmccarthy/archive/2007/01/22/10863.aspx"&gt;An implementation of the specification pattern&lt;/a&gt; by Tim McCarthy. 
&lt;li&gt;&lt;a href="http://www.jpboodhoo.com/blog/ValidationInTheDomainLayerTakeOne.aspx"&gt;Validation In The Domain Layer - Take One&lt;/a&gt; and &lt;a href="http://www.jpboodhoo.com/blog/ValidationInTheDomainLayerTakeTwo.aspx"&gt;Validation In The Domain Layer - Take Two&lt;/a&gt;by Jean-Paul S. Boodhoo. This is our solution so far. &lt;a href="http://bp0.blogger.com/_65oD68n8APM/R4XEpfx8F5I/AAAAAAAAAB8/pDpImaVi1_Y/s1600-h/specificationPattern.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5153741565780039570" style="DISPLAY:block;MARGIN:0px auto 10px;CURSOR:hand;TEXT-ALIGN:center;" alt="" src="http://bp0.blogger.com/_65oD68n8APM/R4XEpfx8F5I/AAAAAAAAAB8/pDpImaVi1_Y/s400/specificationPattern.jpg" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=455656" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author></entry><entry><title>Connect to mainframe with .net</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2008/01/11/connect-to-mainframe-with-net.aspx" /><id>/blogs/mark/archive/2008/01/11/connect-to-mainframe-with-net.aspx</id><published>2008-01-11T07:01:00Z</published><updated>2008-01-11T07:01:00Z</updated><content type="html">&lt;p&gt;In the MSDN magazine of December 2007 i read this article &lt;a href="http://msdn.microsoft.com/msdnmag/issues/07/12/Mainframes/default.aspx"&gt;Connect to mainframe apps With BizTalk Adapters and .NET&lt;/a&gt;. Well in my current project, we are developing an application that communicate with mainframe. While reading the article I was thinking at the solution that is common here. The way the communication here is to communicate through Websphere MQ using XML messages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=455655" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term=".net IBM Websphere MQ C#" scheme="http://bloggingabout.net/blogs/mark/archive/tags/.net+IBM+Websphere+MQ+C_2300_/default.aspx" /></entry><entry><title>Team Development with Visual Studio Team Foundation Server</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2007/08/15/team-development-with-visual-studio-team-foundation-server.aspx" /><id>/blogs/mark/archive/2007/08/15/team-development-with-visual-studio-team-foundation-server.aspx</id><published>2007-08-15T06:05:00Z</published><updated>2007-08-15T06:05:00Z</updated><content type="html">
&lt;p&gt;The guideline of Team Development with Visual Studio Team Foundation Server is available.&lt;br /&gt;
&lt;/p&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;a href="http://www.codeplex.com/TFSGuide"&gt;&lt;img src="http://blogshare.members.winisp.net/images/TeamDevelopmentwithVisualStudioTeamFound_11B7F/TFSGuide.png" alt="" /&gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&amp;nbsp;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=340788" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term="Team Foundation Server" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+Foundation+Server/default.aspx" /></entry><entry><title>Deleting a team build</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2007/08/01/deleting-a-team-build.aspx" /><id>/blogs/mark/archive/2007/08/01/deleting-a-team-build.aspx</id><published>2007-08-01T10:10:00Z</published><updated>2007-08-01T10:10:00Z</updated><content type="html">&lt;p&gt;I had added a couple of team tests to get our daily build right. But now delete the team builds....&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms181719%28VS.80%29.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms181719(VS.80).aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=328975" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term="Team Foundation Server" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+Foundation+Server/default.aspx" /><category term="Team build" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+build/default.aspx" /></entry><entry><title>Create a team build with team foundation server</title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2007/08/01/create-a-team-build-with-team-foundation-server.aspx" /><id>/blogs/mark/archive/2007/08/01/create-a-team-build-with-team-foundation-server.aspx</id><published>2007-08-01T06:17:00Z</published><updated>2007-08-01T06:17:00Z</updated><content type="html">&lt;p&gt;Creating a team build is not that of a problem. In VS2005 use the wizard and it is pretty straight forward.&lt;/p&gt;&lt;p&gt;In my case we had some issues. Let me explain the context:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;to execute the build we use a dedicated build server.&lt;/li&gt;&lt;li&gt;After the build we want the unit test to be executed and the code analysis performed.&lt;/li&gt;&lt;li&gt;The build is executed by a system account&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;The first issue was that to perform a build was that the step to add changesets and update workitems was slow.... &lt;/p&gt;&lt;p&gt;When you are trying to get the build process right that is a pain in the ass. &lt;/p&gt;&lt;p&gt;So luckily you can skip the&amp;nbsp; part of adding changesets and updating workitems. the way to do that is check out the TFSBuild.proj and edit it:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;change &lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;UpdateAssociatedWorkItems&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;true&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;UpdateAssociatedWorkItems&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt; to &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000"&gt;UpdateAssociatedWorkItems&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;false&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;font color="#800000"&gt;UpdateAssociatedWorkItems&lt;/font&gt;&lt;font color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;To
disable work items and changesets for all builds for a particular build
type, add the following to your TFSBuild.proj above the project closing
tag:-&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;Target&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;GetChangeSetsAndUpdateWorkItems&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &amp;gt; &amp;lt;/&lt;/font&gt;&lt;font color="#800000" size="2"&gt;Target&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;Target&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;Name&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;GetChangeSetsOnBuildBreak&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; &amp;gt; /&lt;/font&gt;&lt;font color="#800000" size="2"&gt;Target&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;These two targets are defined in the global TeamBuild.target file. MSBuild allows you to override these targets.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span&gt;&lt;/span&gt;&lt;p&gt; &lt;span&gt;&lt;span&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;See also &lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=224992&amp;amp;SiteID=1"&gt;this post&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So now it&amp;#39;s possible to test the build quickly. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Up to the next problem. When we use the Test view in VS2005 to execute all the unit tests, all tests passed. But in the build process a lot of tests failed. That because some dll&amp;#39;s were not copied to the deployment directory. This can be fixed to do the following steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;in VS2005 go to&amp;nbsp; Test -&amp;gt; Edit test run Configuration&amp;nbsp; -&amp;gt;&amp;nbsp; Local test run.&lt;/li&gt;&lt;li&gt;go to Deployment and add the missing dll&amp;#39;s.&lt;/li&gt;&lt;li&gt;click close.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Now the build runs smoothly but now we entered an error publishing the test results. That was caused due to lack of rights at the share of the drop location.&lt;/p&gt;&lt;p&gt;The rights of the build account were set right but the rights of the account that runs the team foundation server had not the proper rights. After adding that specific account&amp;nbsp; the build runs oke.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=328689" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term="Team Foundation Server" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+Foundation+Server/default.aspx" /><category term="Team build" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+build/default.aspx" /></entry><entry><title>Slow VS 2005 Web Site Build Performance </title><link rel="alternate" type="text/html" href="/blogs/mark/archive/2007/07/31/slow-vs-2005-web-site-build-performance.aspx" /><id>/blogs/mark/archive/2007/07/31/slow-vs-2005-web-site-build-performance.aspx</id><published>2007-07-31T09:15:00Z</published><updated>2007-07-31T09:15:00Z</updated><content type="html">&lt;p&gt;In a project I&amp;#39;m working on we had this problem. Building the project of the web site was slow, and I mean real slow.&lt;/p&gt;&lt;p&gt;After doing some google-ing&amp;nbsp; we came across a post of &lt;a href="http://weblogs.asp.net/scottgu/archive/2006/07/30/Common-Gotcha_3A00_-Slow-VS-2005-Web-Site-Build-Performance-Because-of-_1C20_Dueling-Assembly-References_1D20_.aspx"&gt;ScottGu&amp;#39;s&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;The solution we did, was deleting the refresh files of our library dll&amp;#39;s and the performance issue is gone.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=327614" width="1" height="1"&gt;</content><author><name>Mark Henneman</name><uri>http://bloggingabout.net/members/Mark-Henneman/default.aspx</uri></author><category term="Team Foundation Server" scheme="http://bloggingabout.net/blogs/mark/archive/tags/Team+Foundation+Server/default.aspx" /><category term="web site build performance" scheme="http://bloggingabout.net/blogs/mark/archive/tags/web+site+build+performance/default.aspx" /><category term="vs2005" scheme="http://bloggingabout.net/blogs/mark/archive/tags/vs2005/default.aspx" /></entry></feed>