Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Source Error:


Line 15: 		public static string ReplaceCo2(string text)
Line 16: 		{
Line 17: 			return text.ToString().Replace("CO2", "CO<sub>2</sub>", StringComparison.InvariantCulture);
Line 18: 		}
Line 19: 

Source File: d:\web\localuser\union.dk\public_html\App_Code\dotExtensions.cs    Line: 17






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0