Build Errors in VS2010

Posted on 2011-10-28
Medium Priority
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
  • 2
  • 2
LVL 96

Expert Comment

by:Bob Learned
ID: 37049488
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.

Author Comment

ID: 37050602
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

Bob Learned earned 2000 total points
ID: 37052581
I am sorry for not refreshing my "brain cache"...that would be WebSiteCache

For Windows 7 that should be something like this:


Author Closing Comment

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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

840 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