Broken ASP.NET 4.0 Project
Posted on 2014-02-04
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.
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.