public async Task Create() { IsWorking = true; try { var op = new AddVirtualEnvironmentOperation( _project, VirtualEnvPath, BaseInterpreter.Interpreter, WillCreateVirtualEnv, UseVEnv, WillInstallRequirementsTxt, OutputWindowRedirector.GetGeneral(_project.Site) ); await op.Run(); } catch (OperationCanceledException) { } finally { IsWorking = false; RefreshCanCreateVirtualEnv(VirtualEnvPath); } }
public async Task Create() { IsWorking = true; try { var op = new AddVirtualEnvironmentOperation( _project, VirtualEnvPath, BaseInterpreter.Interpreter, WillCreateVirtualEnv, UseVEnv, WillInstallRequirementsTxt, OutputWindowRedirector.GetGeneral(_project.Site) ); await op.Run(); } catch (OperationCanceledException) { } finally { IsWorking = false; RefreshCanCreateVirtualEnv(VirtualEnvPath); } }