// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
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 ("ProfileGroup", groupName, ", ", AppCodeCompiler.DefaultAppCodeAssemblyName);
+ else
+ typeName = String.Concat ("ProfileGroup", groupName);
+
+ Type profileGroupType = Type.GetType (typeName);
if (profileGroupType == null) {
//Compiler call
}
}
}
-#endif