title: TeamCity - Missing 'Microsoft.Web.Infrastructure'
body: <p>I've been browsing around StackOverflow exploring possible solutions to my issue. For some reason TeamCity is unable to find 'Microsoft.Web.Infrastructure' but I have installed all the required .Net packages. However, I've ran all the tests locally and building the project within Visual Studio returns a successful build.</p>
  
  <p>This is the error which I am experiencing:</p>
  
  <blockquote>
    <p>App_Start\NinjectWebCommon.cs(9, 40): error CS0234: The type or namespace name  'DynamicModuleHelper' does not exist in the namespace 'Microsoft.Web.Infrastructure' (are you missing an assembly reference?)</p>
  </blockquote>
  
  <p><strong>Solutions I have tried</strong></p>
  
  <ol>
  <li>Within Visual Studio I was instructed by one StackOverflow thread to set the reference 'Microsoft.Web.Infrastructure' option 'Copy Local' to true. This returned the same result of the error above.</li>
  <li>I've deleted all references of 'Microsoft.Web.Infrastructure' and performed a fresh install of this package, I'd had also reinstalled Ninject as well. I didn't specify a particular version. Again, building locally was successful remotely not so much - same error occurred.</li>
  </ol>
  
  <p>Has anyone encountered such issue before? I had also done a fresh clone of the GIT Repository, restored all the NuGet Packages (Which TeamCity does as well) and it built completely fine.</p>