Solved

Broken ASP.NET 4.0 Project

Posted on 2014-02-04
4
823 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 earned 500 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
Sammy earned 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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