14 references to BuildAction
Microsoft.DotNet.HotReload.Watch (14)
HotReload\HotReloadDotNetWatcher.cs (14)
1030return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1039return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1042if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework: null)) 1096if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework, deviceInfo)) 1103return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null); 1106async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null) 1230private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken) 1234action is BuildAction.RestoreOnly ? "restore" : "build", 1240if (action != BuildAction.RestoreOnly && targetFramework != null) 1257if (action == BuildAction.BuildOnly) 1261else if (action == BuildAction.RestoreOnly) 1289_context.BuildLogger.Log(action == BuildAction.RestoreOnly ? MessageDescriptor.Restoring : MessageDescriptor.Building, path); 1299(BuildAction.RestoreOnly, true) => MessageDescriptor.RestoreSucceeded, 1300(BuildAction.RestoreOnly, false) => MessageDescriptor.RestoreFailed,