3 writes to Path
Microsoft.Build.Tasks.Core (3)
Copy.cs (2)
1158source.Path = source.Path.GetCanonicalForm(); 1159destination.Path = destination.Path.GetCanonicalForm();
FileState.cs (1)
251Path = path;
58 references to Path
Microsoft.Build.Tasks.Core (58)
Copy.cs (56)
267Log.LogErrorWithCodeFromResources("Copy.DestinationIsDirectory", sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue); 277Log.LogErrorWithCodeFromResources("Copy.SourceIsDirectory", sourceFileState.Path.OriginalValue); 283Log.LogErrorWithCodeFromResources("Copy.SourceFileNotFound", sourceFileState.Path.OriginalValue); 287string destinationFolder = Path.GetDirectoryName(destinationFileState.Path); 288string originalDestinationFolder = Path.GetDirectoryName(destinationFileState.Path.OriginalValue); 315Log.LogError(FileComment, sourceFileState.Path, destinationFileState.Path); 328FileUtilities.DeleteNoThrow(destinationFileState.Path); 345Log.LogMessage(MessageImportance.Normal, RetryingAsSymbolicLink, sourceFileState.Path, destinationFileState.Path, errorMessage); 349Log.LogMessage(MessageImportance.Normal, RetryingAsFileCopy, sourceFileState.Path, destinationFileState.Path, errorMessage); 365Log.LogMessage(MessageImportance.Normal, RetryingAsFileCopy, sourceFileState.Path, destinationFileState.Path, errorMessage); 371Log.LogErrorWithCodeFromResources("Copy.LinkFailed", sourceFileState.Path, destinationFileState.Path); 380Log.LogMessage(MessageImportance.Normal, FileComment, sourceFileState.Path, destinationFileState.Path); 382File.Copy(sourceFileState.Path, destinationFileState.Path, true); 403Log.LogMessage(MessageImportance.Normal, linkComment, sourceFileState.Path, destinationFileState.Path); 405linkCreated = createLink(sourceFileState.Path, destinationFileState.Path, errorMessage); 420Log.LogMessage(MessageImportance.Low, RemovingReadOnlyAttribute, file.Path.OriginalValue); 423File.SetAttributes(file.Path, FileAttributes.Normal); 960sourceFileState.Path.OriginalValue, 961destinationFileState.Path.OriginalValue, 964MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, true); 968MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, false); 971Log.LogError(FileComment, sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue); 981MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, true); 990Log.LogErrorWithCodeFromResources("Copy.Error", sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue, e.Message); 995Log.LogErrorWithCodeFromResources("Copy.Error", sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue, e.Message); 1035LogAlwaysRetryDiagnosticFromResources("Copy.IOException", e.ToString(), sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue, code); 1085Log.LogWarningWithCodeFromResources("Copy.Retrying", sourceFileState.Path.OriginalValue, 1086destinationFileState.Path.OriginalValue, retries, RetryDelayMilliseconds, e.Message, 1087LockCheck.GetLockedFileMessage(destinationFileState.Path)); 1098Log.LogErrorWithCodeFromResources("Copy.ExceededRetries", sourceFileState.Path.OriginalValue, 1099destinationFileState.Path.OriginalValue, Retries, LockCheck.GetLockedFileMessage(destinationFileState.Path)); 1111Log.LogWarningWithCodeFromResources("Copy.Retrying", sourceFileState.Path.OriginalValue, 1112destinationFileState.Path.OriginalValue, retries, RetryDelayMilliseconds, String.Empty /* no details */, 1113LockCheck.GetLockedFileMessage(destinationFileState.Path)); 1122Log.LogErrorWithCodeFromResources("Copy.ExceededRetries", sourceFileState.Path.OriginalValue, 1123destinationFileState.Path.OriginalValue, Retries, LockCheck.GetLockedFileMessage(destinationFileState.Path)); 1158source.Path = source.Path.GetCanonicalForm(); 1159destination.Path = destination.Path.GetCanonicalForm(); 1160return source.Path == destination.Path;
FileState.cs (2)
252_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path)); 344_data = new Lazy<FileDirInfo>(() => new FileDirInfo(Path));