London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
public abstract class BaseTest
{
private static System.Configuration.Configuration _config = null;
public static string TempDir = @"c:\temp\";
private const string sourceFile = "..\\out\\web.config";
public BaseTest()
{
InitializeNewConfig();
}
public static void InitializeNewConfig()
{
_config = System.Configuration.ConfigurationManager.OpenExeConfiguration(sourceFile);
EPiServer.Configuration.Settings.InitializeAllSettings(_config);
// Ensure we have no cached paths in case we have changed application root settings etc.
EPiServer.Web.PermanentLinkMapStore.Clear();
}
}
EPiServer.Configuration.Settings.InitializeAllSettings(_config);
EPiServer.Web.PermanentLinkMapStore.Clear();
Cheers!
// Peter
at EPiServer.ConfigFileSettings.ᐁ() at EPiServer.ConfigFileSettings.get_AllAppSettings() at EPiServer.ApplicationConfiguration..ctor(String configFileName) at EPiServer.Global.get_EPConfig() at EPiServer.DataAccess.DynamicPropertiesDB..ctor() at EPiServer.DataAbstraction.DynamicProperty.ListForPage(PageReference pageLink) at EPiServer.DataAbstraction.DynamicProperty.Load(PageReference pageLink, String propertyName)
Has anyone seen this before? // Peter