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))
1102if (!await BuildAsync(BuildAction.RestoreOnly, targetFramework, deviceInfo))
1110return await BuildAsync(BuildAction.BuildOnly, targetFramework, selectedDevice != null ? new DeviceInfo(selectedDevice, null, null, null, selectedDeviceRuntimeIdentifier) : null);
1113async Task<bool> BuildAsync(BuildAction action, string? targetFramework, DeviceInfo? device = null)
1237private async Task<bool> BuildFileOrProjectOrSolutionAsync(string path, string? targetFramework, DeviceInfo? device, BuildAction action, CancellationToken cancellationToken)
1241action is BuildAction.RestoreOnly ? "restore" : "build",
1247if (action != BuildAction.RestoreOnly && targetFramework != null)
1264if (action == BuildAction.BuildOnly)
1268else if (action == BuildAction.RestoreOnly)
1296_context.BuildLogger.Log(action == BuildAction.RestoreOnly ? MessageDescriptor.Restoring : MessageDescriptor.Building, path);
1306(BuildAction.RestoreOnly, true) => MessageDescriptor.RestoreSucceeded,
1307(BuildAction.RestoreOnly, false) => MessageDescriptor.RestoreFailed,