So I spent a good part of this week off and on tracking down an issue with Team Build. I started with a website project that referenced a compiled DLL (not a project). Once I added the web deployment project and tried to build it with Team Build, I got the following error:
Build FAILED.
á
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'RichTextBox, Version=3.1.0.0, Culture=neutral, PublicKeyToken=17b15412cfbf13c1' or one of its dependencies. Access is denied.
á
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'RichTextBox, Version=3.1.0.0, Culture=neutral, PublicKeyToken=17b15412cfbf13c1' or one of its dependencies. Access is denied.
á
0 Warning(s)
2 Error(s)
á
Research, Research, $%#(@)!*@)#%!, Researchà
In debugging the problem, I created a new website project and added a DLL. The new project built with no issues!
á
More Research, Appeal to the Champs List, More Researchà
á
As a Hail Mary, I decided to place the DLL in the GAC on the build machine. Finally a break!!!
From the error I received, I was able to track the problem back to the TFSSERVICE account not having access to the Temporary ASP.Net folder.
á
So I hope this save you some heart burn.
á
Happy Coding!