14 references to BuildAction
Microsoft.DotNet.HotReload.Watch (14)
HotReload\HotReloadDotNetWatcher.cs (14)
1043return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework);
1052return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework);
1055if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework: null))
1115if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework, deviceInfo))
1123return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null);
1126async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null)
1250private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken)
1254action is BuildAction.RestoreOnly ? "restore" : "build",
1260if (action != BuildAction.RestoreOnly && targetFramework != null)
1277if (action == BuildAction.BuildOnly)
1281else if (action == BuildAction.RestoreOnly)
1309_context.BuildLogger.Log(action == BuildAction.RestoreOnly ? MessageDescriptor.Restoring : MessageDescriptor.Building, path);
1319(BuildAction.RestoreOnly, true) => MessageDescriptor.RestoreSucceeded,
1320(BuildAction.RestoreOnly, false) => MessageDescriptor.RestoreFailed,