3 writes to FilePath
dotnet-watch (1)
Watch\MsBuildFileSetFactory.cs (1)
113
FilePath
= filePath,
Microsoft.DotNet.HotReload.Watch (2)
Build\EvaluationResult.cs (1)
225
FilePath
= filePath,
HotReload\HotReloadDotNetWatcher.cs (1)
354
new FileItem() {
FilePath
= changedPath.Path, ContainingProjectPaths = [] },
15 references to FilePath
dotnet-watch (4)
Watch\BuildEvaluator.cs (1)
154
if (changedFile != null && IsMsBuildFileExtension(changedFile.Value.
FilePath
))
Watch\DotNetWatcher.cs (1)
149
context.Logger.LogInformation("File changed: {Path}", changedFile.Value.Item.
FilePath
);
Watch\MsBuildFileSetFactory.cs (1)
128
Debug.Assert(fileItems.Values.All(f => Path.IsPathRooted(f.
FilePath
)), "All files should be rooted paths");
Watch\StaticFileHandler.cs (1)
30
logger.LogDebug("Handling file change event for static content {FilePath}.", file.
FilePath
);
Microsoft.DotNet.HotReload.Watch (11)
Build\BuildReporter.cs (2)
32
? $"{file.
FilePath
}{Path.PathSeparator}{string.Join(Path.PathSeparator, file.StaticWebAssetRelativeUrl)}"
33
: $"{file.
FilePath
}");
HotReload\CompilationHandler.cs (3)
693
var isScopedCss = StaticWebAsset.IsScopedCssFile(file.
FilePath
);
760
filePath = file.
FilePath
;
1026
var solution = await Workspace.UpdateFileContentAsync(changedFiles.Select(static f => (f.Item.
FilePath
, f.Kind.Convert())), cancellationToken);
HotReload\HotReloadDotNetWatcher.cs (6)
406
if (evaluationResult.Files.TryGetValue(file.Item.
FilePath
, out var evaluatedFile))
433
newAccumulator = newAccumulator.Add(new ChangedPath(file.Item.
FilePath
, file.Kind));
554
if (changedFiles.Select(f => f.Item.
FilePath
).FirstOrDefault(path => evaluationResult.ProjectGraph.BuildFiles.Contains(path) || MatchesBuildFile(path)) is { } firstBuildFilePath)
564
var filePath = changedFile.Item.
FilePath
;
915
? GetSingularMessage(kind) + ": " + GetRelativeFilePath(item.
FilePath
)
916
: GetPluralMessage(kind) + ": " + string.Join(", ", items.Select(f => GetRelativeFilePath(f.Item.
FilePath
)));