I upgraded to VS2015, and MVC was updated to 5.0.

I am able to build successfully on my local PC, but when I checkin to Visual Studio Online, and my CI build builds, it fails:

"The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)"

I've used nuget manager to remove, and re-install MVC on my project - same results.

Looking at my references in the project, all looks OK.

[![enter image description here](https://i.stack.imgur.com/1T8AS.png)](https://i.stack.imgur.com/1T8AS.png)

I also notice in the log before the error happens:

```
Installing 'Microsoft.AspNet.Razor 3.2.3'.
Installing 'Microsoft.AspNet.Mvc.FixedDisplayModes 5.0.0'.
Successfully installed 'Microsoft.AspNet.Mvc.FixedDisplayModes 5.0.0'.
Successfully installed 'Microsoft.AspNet.Razor 3.2.3'.
All packages listed in packages.config are already installed.

```

But it seems when it builds, it doesn't know what MVC is. How can I resolve this?