Wednesday, December 17, 2008

MSBuild and MVC - does not work?

After I have added my sample MVC Solution to TFS I configured my build client to run a daily build. Challanges at this step:


- Issue: I missed to configure the Build Machine Port 9191

- how to solve: Open firewall and configure port 9191


Once I was able to connect to the build client from TFS when I queued a new build it failed. After googling a while i found a lot of people they had the same problem to build automatically mvc. the good thing is: "I'm not alone with building MVC applications with MSBuild"!


- Issue: Targets are not defined, but what the hell are those targets?

- how to solve:

- Step 1: Navigate at your development machine to the following location:

"C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0”

- Step 2: everything within this folder i have copied to my build client at the same location.

- Step 3: i downloaded MVC from http://www.asp.net/mvc again on my build client and installed it.

- Step 4: Added a new Build in my Visual Studio and it succeeded :-)


No comments:

Shared Cache - .Net Caching made easy

All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.

Facebook Badge