Build Errors in VS2010

Posted on 2011-10-28
Last Modified: 2012-05-12
Hi Everyone.  I have recently installed VS2010 pro on my computer.  I made a website and when I go to build it, I keep getting an error that says 'Could not load assembly' App_Web_XXX' .  Make sure that it is compiled before accessing the page.

I never had this problem with VS2008 and I am confused as to what it means.  Everything I have searched on the web says that this is an issue with the publishing server but, I am running this locally and have not uploaded to my server yet.  

Can anyone help shed some light on this for me?

Question by:jwoodhams
    LVL 96

    Expert Comment

    by:Bob Learned
    Is this a Web Site model or Web Application model (no project file or project file)?  I would start by removing the contents of vswebcache folder.  The default location is C:\Documents and Settings\[Username]\VSWebCache\.  This is a temporary area that gets recreated when you build, so you shouldn't need to worry about deleting all the files/folders.
    LVL 1

    Author Comment

    Hi LearnedOne,  it is a Web Site model.  No project file.  Also, I am running on Windows7 Pro and I am not able to find a VSWebCache folder.
    LVL 96

    Accepted Solution

    I am sorry for not refreshing my "brain cache"...that would be WebSiteCache

    For Windows 7 that should be something like this:

    LVL 1

    Author Closing Comment

    Thanks so much.  Sorry, it took me a while to get back to this project.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now