[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Broken ASP.NET 4.0 Project

Posted on 2014-02-04
4
Medium Priority
?
883 Views
Last Modified: 2014-02-05
I have an ASP.NET 4 project that was working and now it not working.

I'm using Visual Studio Professional 2013 (12.0.21005.1) and when I try to rebuild a particular ASP.NET 4.0 Web Application I get the following errors:

Type 'StringBuilder' is not defined.
Type 'List' is not defined.
Type 'Exception' is not defined.
Type 'iTemplate' is not defined.
Type 'SmptClient' is not defined.
Type 'System.IO.FileInfo' is not defined.
Type 'System.Web.UI.Page' is not defined.

etc.

Also, when I try adding a reference to System I get an error stating:
The Web site is already referencing the assembly 'System'

How do I fix this?  I have several Web Applications and this is the only one behaving this way.
0
Comment
Question by:Ray Turner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
Sammy Ageil earned 2000 total points
ID: 39834810
Right click on your solution and click cCean Solution then build.
If this doesn't help, close your project, open your bin directory using windows explorer and delete all dlls from there then rebuild your project

good luck
0
 

Author Comment

by:Ray Turner
ID: 39835178
Where is the Clean Solution in VS2013?
0
 
LVL 27

Assisted Solution

by:Sammy Ageil
Sammy Ageil earned 2000 total points
ID: 39836160
Its on the solution not the project, see the attached screen capture
2014-02-05-11-49-51.png
0
 

Author Closing Comment

by:Ray Turner
ID: 39836324
Thanks!  I'll try it next time.  For the sake of expediency, I downloaded the website; replacing my development code.  Everything is working fine now.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

650 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