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);
        }
Example #2
0
        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*/);
        }