Please note that as of .NET 3.5 Service Pack 1, ScriptReference inherits from
System.Web.UI.ScriptReferenceBase. In previous versions, ScriptReference inherited directly from System.Object. As of the writing of this comment, the documentation erroneously states the old inheritance of System.Object.
This new change can cause problems if you compile code that references ScriptReference using .NET 3.5 Service Pack 1 but deploy to a system that has .NET 3.5 without Service Pack 1. Specifically, the runtime will be unable to load the type System.Web.UI.ScriptReferenceBase, which is a new type in .NET 3.5 Service Pack 1.