I have just started playing with the idea of automating site builds using TFS so I have been stumbling a bit through the process figuring out issues along the way. Last week I ran into an issue I have been unable to get working. In several places through my project I use the @Reference directive to allow casting of a generic UserControl returned by a component to the correct user control class. On my local machine, this code compile with no issue, but when compiling using TFS I get the error:
error CS0246: The type or namespace name '<Class Name>' could not be found (are you missing a using directive or an assembly reference?)
I have been searching around looking for some reference to an issue like this, but as you can imagine an search for TFS, build and reference is not entirely helpful for the problem I am having....
Thanks for any help,
Andrew