14 references to BuildAction
Microsoft.DotNet.HotReload.Watch (14)
HotReload\HotReloadDotNetWatcher.cs (14)
1045return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1054return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1057if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework: null)) 1117if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework, deviceInfo)) 1125return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null); 1128async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null) 1252private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken) 1256action is BuildAction.RestoreOnly ? "restore" : "build", 1262if (action != BuildAction.RestoreOnly && targetFramework != null) 1279if (action == BuildAction.BuildOnly) 1283else if (action == BuildAction.RestoreOnly) 1311_context.BuildLogger.Log(action == BuildAction.RestoreOnly ? MessageDescriptor.Restoring : MessageDescriptor.Building, path); 1321(BuildAction.RestoreOnly, true) => MessageDescriptor.RestoreSucceeded, 1322(BuildAction.RestoreOnly, false) => MessageDescriptor.RestoreFailed,