Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9116193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T04:36:48+00:00 2026-06-17T04:36:48+00:00

Local build works fine. One build server works fine (which isn’t using a TFS

  • 0

Local build works fine. One build server works fine (which isn’t using a TFS Build).

The problem is that a TFS build packages the MVC3 binary, not the MVC4 required.

SERVER 1: Our TFS server has only MVC4 installed (though I don’t believe this is needed anyway).

SERVER 2: Our TFS build controller has only MVC4 installed. (The build agents are on the same server).

Note: both SERVER 1 and 2 have had MVC3 installed previously.

I queue a new build, go to SERVER 2 (build controller server) and I see the agent is working (TFS Admin Console) and has created its working directory.

However the working directory eventually contains the MVC3 binary! This is then dropped in the drop location on a hosting server, which is then deployed incorrectly with MVC3.

An MSBuild from the command line on ‘SERVER 2’ also adds the MVC3 Binary to the bin folder. The GAC contains the MVC4 binary. (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.Mvc\v4.0_4.0.0.0__31bf3856ad364e35)

The web.config of the project in question correctly references MVC4, and System.Web.Mvc (v4.0.0.0) is set to copy local. I have checked for MVC3 references extensively. I have no reason to doubt the code, as this works on our legacy build server (which has MVC4 installed).

And of course it all works on my machine, a publish contains the correct MVC.dll in the bin folder.

Where could it possibly be getting MVC3 from? What could I be missing?

SHORT TERM FIX: Install MVC4 on hosting server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T04:36:50+00:00Added an answer on June 17, 2026 at 4:36 am

    Finally solved this, there is a Reference Assemblies folder inside of program files that contained system.web.mvc.dll (version 3). I deleted it, and it everything works!

    Simply put: “.NET version 4.0 made a big change in the way framework reference assemblies are done.”

    The answer in this question gives more details as to what this folder is and why it is there: Reference Assemblies folder and different assemblies with the same version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a local version of the freebase search api using their
I've just completed an automation script that: downloads a project build to local storage
I'm trying to build an android app that would do a local search on
I have build a webapplication using ASP.NET MVC and JQuery. On my local machine
We have some solution that we built against a MOSS farm one of which
Help! This code works fine on my local VS2010 with TypeMock, however fails on
We have successfully set up a couple of local package repositories using the NuGet.Server
Scenario: I have a TFS Build (TFS2008) that has several targets override: BuildNumberOverrideTarget, AfterGet,
I have a local build of my site running at local.mydomain.com. I'm making ajax
I'm currently trying to build a provisioning service of a kind for a local

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.