private void SelectedEntrypointChanged(string selectedEntrypoint) { ApplicationName = selectedEntrypoint; if (DeployManifest != null && !string.IsNullOrEmpty(SelectedEntrypoint)) { var deployFileName = $"{Path.GetFileNameWithoutExtension(SelectedEntrypoint)}.{Constants.ApplicationExtension}"; // Set DeployUrl var deploymentUrl = FlowUtils.GetDeployUrl(SelectedFolder.FullPath, deployFileName); var propertyField = DeployManifest.Properties.First(p => p.PropertyName == nameof(BuildDeployManifest.DeploymentUrl)); propertyField.StringValue = deploymentUrl; // Set SourcePath var root = SelectedFolder.FullPath; propertyField = DeployManifest.Properties.First(p => p.PropertyName == nameof(BuildDeployManifest.SourcePath)); propertyField.StringValue = Path.Combine(root, deployFileName); } }