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 8526753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:21:46+00:00 2026-06-11T08:21:46+00:00

Is it possible to develop in Visual Studio without referencing assemblies in the GAC

  • 0

Is it possible to develop in Visual Studio without referencing assemblies in the GAC (except the core .Net framework)? I guess I’m asking if it’s possible to use purely local assemblies for an application.

Our buildserver/live/test environments have nothing installed except the .Net framework, all referenced assemblies such as MVC/Entity Framework etc. are included as NuGet package archives. Development machines need MVC installed for Visual Studio to work properly. The problem with this is, there’s no way to tell if something will cause a problem resolving a particular dependency until it is pushed out to the buildserver as development machines will usually find what it needs in the GAC. I’ve also had the scenario where an older, incorrect version of an assembly was found in the GAC on my development machine even though the later, correct version was referenced by the project as part of a package (which the buildserver used).

  • 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-11T08:21:47+00:00Added an answer on June 11, 2026 at 8:21 am

    The solution was 2 steps;

    1. Remove (or rename to a something which doesn’t exist) the paths under your AssembleyFoldersEx registry key. So on my Win7 64bit machine it was the following

      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v4.0.30319\AssemblyFoldersEx\ASP.NET MVC4 (and Web Pages)

    2. Remove assemblies from the GAC. In my scenario this was system.web.mvc and associated assemblies, basically anything installed under

      C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4 (and Web pages)

    Follow the steps here to do this

    http://dylanbeattie.blogspot.co.uk/2008/11/working-on-aspnet-mvc-beta-and-preview.html

    Basically now any assemblies which cannot be resolved by their location specified in the project file (i.e if a NuGet package has an incorrect name) will cause the build to fail in the same way the build server will. MVC templates still work in Visual Studio

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

Sidebar

Related Questions

How do I use Visual Studio to develop applications on Mono? Is this possible?
Is it possible to develop .net 4.0 [beta] apps with Visual Studio 2008? I
It's possible to develop only for .net 2.0 running Visual Studio 2008? Thanks!
Is it possible to develop apps for Windows CE .NET 4.2 in Visual Studio
Is it possible to develop ASP.NET MVC with MS Visual C# 2008 Express Edition
Is it possible to develop an ASP.NET Web Service using the Visual Web Developer
Is it possible to develop for Sharepoint using Visual Studio 2010 pointing to the
I'm developing a website using Asp.Net 3.5 in Visual Studio 2008 and we use
Is it possible to develop silverlight 4 applications in visual studio 2010 RC? The
Is it possible to develop iphone apps with java? I'd prefer to use alchemo

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.