3 writes to FilePath
dotnet-watch (1)
Watch\MsBuildFileSetFactory.cs (1)
113
FilePath
= filePath,
Microsoft.DotNet.HotReload.Watch (2)
Build\EvaluationResult.cs (1)
220
FilePath
= filePath,
HotReload\HotReloadDotNetWatcher.cs (1)
370
new FileItem() {
FilePath
= changedPath.Path, ContainingProjectPaths = [] },
14 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 (10)
Build\BuildReporter.cs (2)
32
? $"{file.
FilePath
}{Path.PathSeparator}{string.Join(Path.PathSeparator, file.StaticWebAssetRelativeUrl)}"
33
: $"{file.
FilePath
}");
HotReload\HotReloadDotNetWatcher.cs (6)
422
if (evaluationResult.Files.TryGetValue(file.Item.
FilePath
, out var evaluatedFile))
449
newAccumulator = newAccumulator.Add(new ChangedPath(file.Item.
FilePath
, file.Kind));
569
if (changedFiles.Select(f => f.Item.
FilePath
).FirstOrDefault(path => evaluationResult.ProjectGraph.BuildFiles.Contains(path) || MatchesBuildFile(path)) is { } firstBuildFilePath)
579
var filePath = changedFile.Item.
FilePath
;
930
? GetSingularMessage(kind) + ": " + GetRelativeFilePath(item.
FilePath
)
931
: GetPluralMessage(kind) + ": " + string.Join(", ", items.Select(f => GetRelativeFilePath(f.Item.
FilePath
)));
HotReload\ManagedCodeWorkspace.cs (1)
103
var solution = await _workspace.UpdateFileContentAsync(changedFiles.Select(static f => (f.Item.
FilePath
, f.Kind.Convert())), cancellationToken);
HotReload\ProjectUpdatesBuilder.StaticWebAssets.cs (1)
56
builder.AddAssets(file.Item.
FilePath
, file.Item.ContainingProjectPaths, file.Item.StaticWebAssetRelativeUrl);