I’ve a project where I wrote all nhibernate mapping tests against a sqllite db. At this time a test fixture gave me this result. 44 passed, 0 failed, 0 skipped, took 54,46 seconds (NUnit 2.5.5). As you can see the time needed to run the test is quite high, and the worst stuff is that [...]

Continue reading about Slow database test with SqlLite

T4 toolbox a very good Visual Studio addin to efficiently manage T4 template. If you move to the new version you should be aware that there is a breaking change in the base Template class. In old version you render all text inside the method RenderCore() 1: protected override void RenderCore() 2: { 3: GenerateDto( [...]

Continue reading about T4 toolbox RenderCore() no suitable method to override

If you look at the previous post, I answered a little problem that can occur when saving a Work Item in TFS with API. A common question that arise from people when they begin to work with the WIT api is “how can I make possible for users of my application to edit a WIT?” [...]

Continue reading about Edit properties of a Work Item with API

Today my dear friend Matteo asked me some help with a snippet of code to insert a WIT into a TFS. The snippet was the following one. 1: Dim tfs As New TeamFoundationServer("http://tfs2010test:8080/tfs/defaultcollection", 2: New NetworkCredential("Administrator", "xxxxxxxx")) 3: Dim wis As WorkItemStore = DirectCast(tfs.GetService(GetType(WorkItemStore)), WorkItemStore) 4: Dim teamProject As Project = wis.Projects(0) 5: Dim witype [...]

Continue reading about Create a Work Item By code in TFS returns TF237124, Work Item is not ready to save

When you configure TFS Lab Management in a single box, and you follow the instruction that you find on MSDN, probably you will encounter this error when you configure the host tab. The following host is unusable for Lab Management: xxxx in host group: "All Hosts". To make it usable, connect at least one of [...]

Continue reading about Configuring Lab Management on a single machine