Bladeren bron

2008-02-27 Marek Habersack <[email protected]>

	* AspComponentFoundry.cs: use BuildManager.GetCompiledType in the
	LoadType method for the 2.0 profile.

svn path=/trunk/mcs/; revision=96719
Marek Habersack 18 jaren geleden
bovenliggende
commit
7451ca4ddf

+ 1 - 1
mcs/class/System.Web/System.Web.Compilation/AspComponentFoundry.cs

@@ -261,7 +261,7 @@ namespace System.Web.Compilation
 					return type;
 				
 				ArrayList other_deps = new ArrayList ();
-				type = UserControlParser.GetCompiledType (vpath, realpath, other_deps, context);
+				type = BuildManager.GetCompiledType (vpath);
 				if (type != null) {
 					AspGenerator.AddTypeToCache (other_deps, realpath, type);
 					WebConfigurationManager.ExtraAssemblies.Add (type.Assembly.Location);

+ 3 - 0
mcs/class/System.Web/System.Web.Compilation/ChangeLog

@@ -1,5 +1,8 @@
 2008-02-27  Marek Habersack  <[email protected]>
 
+	* AspComponentFoundry.cs: use BuildManager.GetCompiledType in the
+	LoadType method for the 2.0 profile.
+
 	* CompilationException.cs: use a different format of ErrorMessage
 	for the 2.0+ profile.