[TypeLoadException: Inheritance security rules violated by type: 'MyWebPagesStarterKit.Controls.TemplatedContentDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +21
System.Web.Compilation.BuildResultMainCodeAssembly.FindAppInitializeMethod() +32
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +9986405
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.CompileCodeDirectories() +383
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +243
[HttpException (0x80004005): Inheritance security rules violated by type: 'MyWebPagesStarterKit.Controls.TemplatedContentDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +435
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +33
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +563
[HttpException (0x80004005): Inheritance security rules violated by type: 'MyWebPagesStarterKit.Controls.TemplatedContentDesigner'. Derived types must either match the security accessibility of the base type or be less accessible.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10072580
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +456
|