I've added 4 references to extensions to a project in a VS2012 solution. The project file (.vbproj) changes are:
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=blahblahblah, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=blahblahblah, processorArchitecture=MSIL" />
<Reference Include="System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=blahblahblah, processorArchitecture=MSIL" />
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=blahblahblah, processorArchitecture=MSIL">
The sol'n build successfully on my local environment. However, when pushing to TeamCity, I get compilation / MSBuild failures. Messages say that classes in the referenced libraries are not defined.
...error BC30002: Type 'ApiController' is not defined.
...error BC30002: Type 'HttpResponseException' is not defined.
...error BC30456: 'MapHttpRoute' is not a member of 'System.Web.Routing.RouteCollection'.
The .sln file appears to have the correct info referencing all projects, including the modified one, but I appear to be missing something. Can anyone help w/suggestions. Thanks.