public async Task UnInstall(AppIdentity appIdentity) { try { Trace.TraceInformation($"Uninstalling application {appIdentity}"); await _applicationPool.RemoveApplication(appIdentity); await DeleteAppBinaries(appIdentity); Trace.TraceInformation($"Application {appIdentity} uninstalled"); } catch (Exception e) { throw new Exception($"Failed to uninstall application {appIdentity}", e); } }
public async Task UnInstall(AppIdentity appIdentity) { await _applicationPool.RemoveApplication(appIdentity); await FileUtils.DeleteDirectoryIfAny(GetApplicationAbsolutePath(appIdentity), recursive : true); }
public async Task UnInstall(AppIdentity appIdentity) { await _applicationPool.RemoveApplication(appIdentity); await DeleteAppBinaries(appIdentity); }
public Task UnInstall(AppIdentity appIdentity) { _applicationPool.RemoveApplication(appIdentity); return(Task.CompletedTask); }