14 references to BuildAction
Microsoft.DotNet.HotReload.Watch (14)
HotReload\HotReloadDotNetWatcher.cs (14)
1044return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1053return await BuildAsync(BuildAction.RestoreAndBuild, targetFramework); 1056if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework: null)) 1116if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework, deviceInfo)) 1124return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null); 1127async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null) 1238private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken) 1242action is BuildAction.RestoreOnly ? "restore" : "build", 1248if (action != BuildAction.RestoreOnly && targetFramework != null) 1265if (action == BuildAction.BuildOnly) 1269else if (action == BuildAction.RestoreOnly) 1297_context.BuildLogger.Log(action == BuildAction.RestoreOnly ? MessageDescriptor.Restoring : MessageDescriptor.Building, path); 1307(BuildAction.RestoreOnly, true) => MessageDescriptor.RestoreSucceeded, 1308(BuildAction.RestoreOnly, false) => MessageDescriptor.RestoreFailed,