Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
public static void RegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider)
{
if (_theHostingEnvironment == null)
{
throw new InvalidOperationException();
}
if (!BuildManager.IsPrecompiledApp)
{
RegisterVirtualPathProviderInternal(virtualPathProvider);
}
}
There is a workaround if you want to precompile the site: http://sunali.com/2008/01/09/virtualpathprovider-in-precompiled-web-sites/
Kind regards,
Fredrik Haglund,
INEXOR AB - http://blog.fredrikhaglund.se
Here's another EPiServer-specific workaround for virtual path providers in precompiled websites (it's based on the workaround Fredrik mentions):