25 references to GetFullPathNoThrow
Microsoft.Build (6)
Errors\InvalidProjectFileException.cs (1)
226
string fullPath = FileUtilities.
GetFullPathNoThrow
(projectFile);
Evaluation\IntrinsicFunctions.cs (1)
737
pathToAssembly = FileUtilities.
GetFullPathNoThrow
(pathToAssembly);
Globbing\MSBuildGlob.cs (2)
145
var normalizedInput = FileUtilities.
GetFullPathNoThrow
(rootedInput);
241
var normalizedFixedPart = FileUtilities.
GetFullPathNoThrow
(parentedFixedPart);
Utilities\FileSpecMatchTester.cs (2)
69
fileToMatch = FileUtilities.
GetFullPathNoThrow
(Path.Combine(_currentDirectory, fileToMatch));
133
: FileUtilities.
GetFullPathNoThrow
(absoluteFixedDirPart);
Microsoft.Build.Framework (5)
FileUtilities.cs (4)
1036
/// Does not throw IO exceptions. See <see cref="
GetFullPathNoThrow
(string)"/>
1060
/// Does not throw IO exceptions. See <see cref="
GetFullPathNoThrow
(string)"/>
1072
var fullPath =
GetFullPathNoThrow
(Path.Combine(currentDirectory, normalizedPath));
1448
path =
GetFullPathNoThrow
(path);
SolutionConfiguration.cs (1)
70
projectAbsolutePath = FileUtilities.
GetFullPathNoThrow
(projectAbsolutePath);
Microsoft.Build.Tasks.Core (14)
GenerateResource.cs (14)
2669
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), 0, 0, 0, 0,
2675
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), 0, 0, 0, 0,
2683
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), xe.LineNumber,
2688
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), 0, 0, 0, 0,
2702
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), xe.LineNumber,
2713
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), 0, 0, 0, 0,
2718
FileUtilities.
GetFullPathNoThrow
(inFile));
2724
_logger.LogErrorWithCodeFromResources(null, FileUtilities.
GetFullPathNoThrow
(inFile), 0, 0, 0, 0,
2833
FileUtilities.
GetFullPathNoThrow
(currentOutputFile), io.Message);
2867
FileUtilities.
GetFullPathNoThrow
(inFile), e.Message); // Input file is more useful to log
2871
FileUtilities.
GetFullPathNoThrow
(inFile));
2878
FileUtilities.
GetFullPathNoThrow
(currentOutputFile), e.Message);
2956
_logger.LogMessageFromResources("GenerateResource.CorruptOutput", FileUtilities.
GetFullPathNoThrow
(filename));
2963
_logger.LogWarningWithCodeFromResources("GenerateResource.DeleteCorruptOutputFailed", FileUtilities.
GetFullPathNoThrow
(filename), deleteException.Message);