//
-// System.Web.UI.MasterPageParser
+// System.Web.UI.ProfileParser
//
// Authors:
// Vladimir Krasnov (vladimirk@mainsoft.com)
public static Type GetProfileCommonType (HttpContext context)
{
- Type profileBaseType = Type.GetType ("ProfileCommon");
+ string typeName;
+ if (AppCodeCompiler.DefaultAppCodeAssemblyName != null)
+ typeName = String.Concat ("ProfileCommon, ", AppCodeCompiler.DefaultAppCodeAssemblyName);
+ else
+ typeName = "ProfileCommon";
+
+ Type profileBaseType = Type.GetType (typeName);
if (profileBaseType == null) {
//Compiler call
}
public static Type GetProfileGroupType (HttpContext context, string groupName)
{
- Type profileGroupType = Type.GetType ("ProfileGroup" + groupName);
+ string typeName;
+ if (AppCodeCompiler.DefaultAppCodeAssemblyName != null)
+ typeName = String.Concat ("ProfileCommon", groupName, ", ", AppCodeCompiler.DefaultAppCodeAssemblyName);
+ else
+ typeName = String.Concat ("ProfileCommon", groupName);
+
+ Type profileGroupType = Type.GetType (typeName);
if (profileGroupType == null) {
//Compiler call
}
}
}
-#endif
\ No newline at end of file
+#endif