# Cannot build in TFS with MVC4

**URL:** <https://community.miniprofiler.com/t/cannot-build-in-tfs-with-mvc4/48>\
**Category:** uncategorized\
**Created:** [November 2, 2012, 9:16am UTC](https://community.miniprofiler.com/t/cannot-build-in-tfs-with-mvc4/48 "2012-11-02T09:16:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ItsJason](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/itsjason/32/1004_2.png) [@ItsJason](https://community.miniprofiler.com/u/ItsJason)\
**Post date:** [November 2, 2012, 9:16am UTC](https://community.miniprofiler.com/t/cannot-build-in-tfs-with-mvc4/48/1 "2012-11-02T09:16:38Z")

</div>

Hello! I love MiniProfiler and have been using it for probably a year now. However, I now have an MVC4 project which builds in TFS. Since adding MiniProfiler, the build fails with the following:

> CA0001 : The following error was encountered while reading module ‘MiniProfiler’: Assembly reference cannot be resolved: System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.  
> CA0058 : The referenced assembly ‘System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ could not be found. This assembly is required for analysis and was referenced by: D:.…\packages\MiniProfiler.2.0.2\lib  
> et40\MiniProfiler.dll.

Has anyone run into this, and is there a solution?

Thanks,  
Jason
