internal void Deploy(bool enableWin32Mode = false)
{
try
{
this.Pool = new IisApplicationPool(this.PoolName, enable32BitAppOnWin64: enableWin32Mode);
this.WebSite = new IisWebSite(this.WebSiteName, this.AppFolder, this.Port, this.Pool);
this.ExternalCall = string.Format("http://localhost:{0}/ExternalCalls.aspx", this.Port);
this.IsFirstTest = true;
if (Directory.Exists(this.AppFolder))
ACLTools.GetEveryoneAccessToPath(this.AppFolder);
}
catch (Exception ex)
{
Trace.TraceError("Exception occured while attempting to deploy application {0}: {1}. Tests will not continue as they are guaranteed to fail.", this.AppName, ex);
throw ex;
}
}