Installation of Tfs Express and why I love tfspreview.com

Pratice what you preach. My advice is to add unittests with codecoverage to your (daily) build and make sure it’s above the threshold. To pratice this I installed Tfs Express this weekend.

The installation was straight forward next-next-finish. But then the first problem: error tf30172 on create new project. So I tried to log in to the webinterface. Not possible with an account without password. I created a password and logged in. Set the Create new projects right to allow and tried again. No success. Some internet search explained this as an version clash, I was using Visual Studio 2010. Installed Team Explorer 2012 and was able to create the project.

My project contains some unittests I want to run during the build. Added them to the builddefinition, but code coverage was not executed. The log showed an XML validation error: XSD violation: The ‘enabled’ attribute is not declared.
local build report with XML validation error under View Test Results
Another internet search pointed in the direction of another version clash. I cannot convert to Visual Studio 2012 on my production machine. This train comes to a stop.

Solution here by installation of Visual Studio 2012

On the techdays I got an invite key to tfspreview.com the Team Foundation Service in the cloud. As this is an SAAS solution there was no installation, only registration. There is a webinterface for adding projects, managing rights and everything I wanted. After installing a small add-on to log in from Team Explorer 2010 with my live-id, I could create a builddefinition. With unittests and code coverage being done in the cloud. This is how it should be.
tfspreview build report with unittest and code coverage results

Tfspreview is – as the name sugests – preview software and free. Things could go wrong. And when the pricing models get published your projectmanager might want to go back on premises again. Which is equal good, it only takes more time setting up. But for now I’m choosing the easy way of SAAS.

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , , , , , , , , , , , . Bookmark the permalink.

1 Response to Installation of Tfs Express and why I love tfspreview.com

  1. Pingback: TFS Express done right | Erictummers's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.