internal static ProfileBuildProvider Create() { ProfileBuildProvider provider = new ProfileBuildProvider(); provider.SetVirtualPath(HttpRuntime.AppDomainAppVirtualPathObject.SimpleCombine("Profile")); return(provider); }
internal static ProfileBuildProvider Create() { ProfileBuildProvider buildProvider = new ProfileBuildProvider(); // Use a fake virtual path of /theapp/profile for the profile build provider buildProvider.SetVirtualPath(HttpRuntime.AppDomainAppVirtualPathObject.SimpleCombine("Profile")); return buildProvider; }
internal static ProfileBuildProvider Create() { ProfileBuildProvider buildProvider = new ProfileBuildProvider(); // Use a fake virtual path of /theapp/profile for the profile build provider buildProvider.SetVirtualPath(HttpRuntime.AppDomainAppVirtualPathObject.SimpleCombine("Profile")); return(buildProvider); }
private void FindBuildProviders() { if ((this._dirType == CodeDirectoryType.MainCode) && ProfileBuildProvider.HasCompilableProfile) { this._buildProviders.Add(ProfileBuildProvider.Create()); } VirtualDirectory vdir = HostingEnvironment.VirtualPathProvider.GetDirectory(this._virtualDir); this.ProcessDirectoryRecursive(vdir, true); }
private void FindBuildProviders() { // If we need to build the profile, add its build provider if (_dirType == CodeDirectoryType.MainCode && ProfileBuildProvider.HasCompilableProfile) { _buildProviders.Add(ProfileBuildProvider.Create()); } VirtualDirectory vdir = HostingEnvironment.VirtualPathProvider.GetDirectory(_virtualDir); ProcessDirectoryRecursive(vdir, true /*topLevel*/); }
internal static ProfileBuildProvider Create() { ProfileBuildProvider provider = new ProfileBuildProvider(); provider.SetVirtualPath(HttpRuntime.AppDomainAppVirtualPathObject.SimpleCombine("Profile")); return provider; }