30 instantiations of AbsolutePath
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1123
_requestEntry.TaskEnvironment.ProjectDirectory = new
AbsolutePath
(_requestEntry.ProjectRootDirectory, ignoreRootedCheck: true);
1456
_requestEntry.TaskEnvironment.ProjectDirectory = new
AbsolutePath
(_requestEntry.RequestConfiguration.SavedCurrentDirectory, ignoreRootedCheck: true);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
443
_buildRequestEntry.TaskEnvironment.ProjectDirectory = new
AbsolutePath
(_buildRequestEntry.ProjectRootDirectory, ignoreRootedCheck: true);
Microsoft.Build.Framework (13)
FileUtilities.cs (7)
284
return new
AbsolutePath
(EnsureTrailingSlash(path.Value),
312
return new
AbsolutePath
(EnsureNoTrailingSlash(path.Value),
340
return new
AbsolutePath
(FixFilePath(NewPath.GetFullPath(path.Value)),
355
return new
AbsolutePath
(FixFilePath(path.Value),
397
return new
AbsolutePath
(NewPath.GetFullPath(path, workingDir!));
403
return new
AbsolutePath
(path, new
AbsolutePath
(workingDir!));
MultiProcessTaskEnvironmentDriver.cs (2)
35
get => new
AbsolutePath
(NativeMethods.GetCurrentDirectory(), ignoreRootedCheck: true);
42
return new
AbsolutePath
(path, ProjectDirectory);
MultiThreadedTaskEnvironmentDriver.cs (3)
36
ProjectDirectory = new
AbsolutePath
(currentDirectoryFullPath, ignoreRootedCheck: true);
53
ProjectDirectory = new
AbsolutePath
(currentDirectoryFullPath, ignoreRootedCheck: true);
72
return new
AbsolutePath
(path, ProjectDirectory);
PathHelpers\AbsolutePath.cs (1)
191
return new
AbsolutePath
(System.IO.Path.GetFullPath(Value), OriginalValue, ignoreRootedCheck: true);
Microsoft.Build.Tasks.Core (12)
AddToWin32Manifest.cs (1)
115
return defaultManifestPath is null ? null : new
AbsolutePath
(defaultManifestPath);
AssemblyDependency\ResolveAssemblyReference.cs (2)
1163
: new
AbsolutePath
(path, ignoreRootedCheck: true);
1199
: new
AbsolutePath
(path, ignoreRootedCheck: true);
BootstrapperUtil\ResourceUpdater.cs (1)
165
=> UpdateResources(new
AbsolutePath
(filename, ignoreRootedCheck: true), results);
GetReferenceAssemblyPaths.cs (1)
170
: new
AbsolutePath
(RootPath, ignoreRootedCheck: true);
ManifestUtil\LauncherBuilder.cs (1)
70
AbsolutePath outputExe = new
AbsolutePath
(
ManifestUtil\PathUtil.cs (1)
245
return new
AbsolutePath
(path, baseDirectory).GetCanonicalForm();
RedistList.cs (1)
1002
Path = new
AbsolutePath
(FileUtilities.NormalizeForPathComparison(absolutePath));
StateFileBase.cs (2)
50
SerializeCache(new
AbsolutePath
(stateFile, ignoreRootedCheck: true), log, serializeEmptyState);
104
return DeserializeCache<T>(new
AbsolutePath
(stateFile, ignoreRootedCheck: true), log);
TaskEnvironmentExtensions.cs (1)
53
? new
AbsolutePath
(paths[i], ignoreRootedCheck: true)
WriteCodeFragment.cs (1)
125
outputFilePath = new
AbsolutePath
(FileUtilities.GetTemporaryFile(outputDirectoryPath, null, extension));
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
893
AbsolutePath filePath = !string.IsNullOrEmpty(fileName) ? TaskEnvironment.GetAbsolutePath(fileName) : new
AbsolutePath
(fileName, ignoreRootedCheck: true);
Microsoft.NET.Build.Tasks (1)
ResolvePackageDependencies.cs (1)
476
return Path.GetFullPath(new
AbsolutePath
(path, absProjectDir));
223 references to AbsolutePath
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
304
AbsolutePath
projectPath = TaskEnvironment.GetAbsolutePath(FileUtilities.AttemptToShortenPath(project.ItemSpec));
Evaluation\Expander.cs (1)
4066
AbsolutePath
? resolved = FileUtilities.MakeFullPathFromThreadWorkingDirectory((string)args[n]);
Microsoft.Build.Framework (41)
FileUtilities.cs (10)
270
internal static
AbsolutePath
EnsureTrailingSlash(
AbsolutePath
path)
298
internal static
AbsolutePath
EnsureNoTrailingSlash(
AbsolutePath
path)
326
internal static
AbsolutePath
NormalizePath(
AbsolutePath
path)
348
internal static
AbsolutePath
FixFilePath(
AbsolutePath
path)
362
/// resolves it to an <see cref="
AbsolutePath
"/> using the thread-local working directory as base.
379
internal static
AbsolutePath
? MakeFullPathFromThreadWorkingDirectory(string path)
ITaskEnvironmentDriver.cs (2)
21
AbsolutePath
ProjectDirectory { get; internal set; }
28
AbsolutePath
GetAbsolutePath(string path);
MultiProcessTaskEnvironmentDriver.cs (2)
33
public
AbsolutePath
ProjectDirectory
40
public
AbsolutePath
GetAbsolutePath(string path)
MultiThreadedTaskEnvironmentDriver.cs (3)
23
private
AbsolutePath
_currentDirectory;
57
public
AbsolutePath
ProjectDirectory
70
public
AbsolutePath
GetAbsolutePath(string path)
PathHelpers\AbsolutePath.cs (22)
24
public readonly struct AbsolutePath : IEquatable<
AbsolutePath
>
42
/// Initializes a new instance of the <see cref="
AbsolutePath
"/> struct.
54
/// Initializes a new instance of the <see cref="
AbsolutePath
"/> struct.
65
/// Initializes a new instance of the <see cref="
AbsolutePath
"/> struct.
100
/// Initializes a new instance of the <see cref="
AbsolutePath
"/> struct by combining an absolute path with a relative path.
105
public AbsolutePath(string path,
AbsolutePath
basePath)
167
public static implicit operator string(
AbsolutePath
path) => path.Value;
173
/// An <see cref="
AbsolutePath
"/> representing the canonical form of the path.
189
internal
AbsolutePath
GetCanonicalForm()
195
/// Determines whether two <see cref="
AbsolutePath
"/> instances are equal.
200
public static bool operator ==(
AbsolutePath
left,
AbsolutePath
right) => left.Equals(right);
203
/// Determines whether two <see cref="
AbsolutePath
"/> instances are not equal.
208
public static bool operator !=(
AbsolutePath
left,
AbsolutePath
right) => !left.Equals(right);
211
/// Determines whether the specified object is equal to the current <see cref="
AbsolutePath
"/>.
214
/// <returns><c>true</c> if the specified object is an <see cref="
AbsolutePath
"/> and is equal to the current instance; otherwise, <c>false</c>.</returns>
215
public override bool Equals(object? obj) => obj is
AbsolutePath
other && Equals(other);
218
/// Determines whether the specified <see cref="
AbsolutePath
"/> is equal to the current instance.
220
/// <param name="other">The <see cref="
AbsolutePath
"/> to compare with the current instance.</param>
222
public bool Equals(
AbsolutePath
other) => s_pathComparer.Equals(Value, other.Value);
225
/// Returns a hash code for this <see cref="
AbsolutePath
"/>.
TaskEnvironment.cs (2)
68
public
AbsolutePath
ProjectDirectory
80
public
AbsolutePath
GetAbsolutePath(string path) => _driver.GetAbsolutePath(path);
Microsoft.Build.Tasks.Core (134)
AddToWin32Manifest.cs (5)
93
private
AbsolutePath
? GetManifestPath()
103
AbsolutePath
absolutePath = TaskEnvironment.GetAbsolutePath(ApplicationManifest.ItemSpec);
118
private Stream? GetManifestStream(
AbsolutePath
? path)
129
AbsolutePath
? manifestPath = GetManifestPath();
184
AbsolutePath
outputPath = TaskEnvironment.GetAbsolutePath(originalPath);
AssemblyDependency\GenerateBindingRedirects.cs (2)
112
AbsolutePath
outputAppConfigFile = TaskEnvironment.GetAbsolutePath(OutputAppConfigFile.ItemSpec);
350
private XDocument LoadAppConfig(
AbsolutePath
appConfigFile)
AssemblyDependency\Reference.cs (2)
939
internal static bool IsFrameworkFile(string fullPath,
AbsolutePath
[] frameworkPaths)
943
foreach (
var
frameworkPath in frameworkPaths)
AssemblyDependency\ResolveAssemblyReference.cs (22)
192
private
AbsolutePath
[] _candidateAssemblyFiles = [];
193
private
AbsolutePath
[] _targetFrameworkDirectories = [];
198
private
AbsolutePath
_appConfigFile = default;
226
private
AbsolutePath
_stateFile = default;
227
private
AbsolutePath
_assemblyInformationCacheOutputPath = default;
231
private
AbsolutePath
[] _fullFrameworkFolders = [];
232
private
AbsolutePath
[] _latestTargetFrameworkDirectories = [];
1150
/// Converts a path to an <see cref="
AbsolutePath
"/>. Returns <c>default</c> for null or empty paths.
1154
private
AbsolutePath
MakeAbsolutePath(string path)
1167
/// Converts each non-empty path in the array to an <see cref="
AbsolutePath
"/>.
1170
private
AbsolutePath
[] MakeAbsolutePaths(string[] paths)
1176
AbsolutePath
[] result = new
AbsolutePath
[paths.Length];
1185
/// Converts a path to an <see cref="
AbsolutePath
"/> in canonical form (resolves ".." etc.).
1190
private
AbsolutePath
MakeCanonicalPath(string path)
1203
/// Converts each non-empty path in the array to a canonical <see cref="
AbsolutePath
"/>.
1206
private
AbsolutePath
[] MakeCanonicalPaths(string[] paths)
1212
AbsolutePath
[] result = new
AbsolutePath
[paths.Length];
1664
foreach (
AbsolutePath
file in _candidateAssemblyFiles)
1763
foreach (
var
fullFolder in _fullFrameworkFolders)
1769
foreach (
var
latestFolder in _latestTargetFrameworkDirectories)
AssignTargetPath.cs (4)
59
AbsolutePath
fullRootPath = default;
73
AbsolutePath
currentDirectory = FileUtilities.EnsureTrailingSlash(TaskEnvironment.ProjectDirectory);
90
AbsolutePath
currentDirectory = FileUtilities.EnsureTrailingSlash(TaskEnvironment.ProjectDirectory);
130
AbsolutePath
itemSpecFullFileNamePath =
BootstrapperUtil\ResourceUpdater.cs (1)
40
public bool UpdateResources(
AbsolutePath
filename, BuildResults results)
Copy.cs (6)
520
AbsolutePath
sourceAbsolutePath;
521
AbsolutePath
destAbsolutePath;
675
AbsolutePath
prevSourceAbsolutePath = default;
686
AbsolutePath
sourceAbsolutePath;
687
AbsolutePath
destAbsolutePath;
859
AbsolutePath
src = FileUtilities.NormalizePath(TaskEnvironment.GetAbsolutePath(sourceFolder.ItemSpec));
CreateManifestResourceName.cs (3)
125
private static Stream CreateFileStreamOverNewFileStream(
AbsolutePath
path, FileMode mode, FileAccess access)
196
AbsolutePath
dependentPath = TaskEnvironment.GetAbsolutePath(Path.Combine(Path.GetDirectoryName(fileName), conventionDependentUpon));
221
AbsolutePath
pathToDependent = TaskEnvironment.GetAbsolutePath(Path.Combine(Path.GetDirectoryName(fileName), dependentUpon));
Delegate.cs (1)
121
internal delegate Stream CreateFileStream(
AbsolutePath
path, FileMode mode, FileAccess access);
Delete.cs (1)
124
AbsolutePath
? filePath = null;
DownloadFile.cs (1)
182
AbsolutePath
destinationFolderPath = TaskEnvironment.GetAbsolutePath(DestinationFolder.ItemSpec);
Exec.cs (1)
50
private
AbsolutePath
_workingDirectory;
FileIO\GetFileHash.cs (2)
91
AbsolutePath
filePath = TaskEnvironment.GetAbsolutePath(file.ItemSpec);
146
internal static byte[] ComputeHash(Func<HashAlgorithm> algorithmFactory,
AbsolutePath
filePath, CancellationToken ct)
FileIO\ReadLinesFromFile.cs (1)
45
AbsolutePath
filePath = TaskEnvironment.GetAbsolutePath(File.ItemSpec);
FileIO\VerifyFileHash.cs (1)
46
AbsolutePath
filePath = TaskEnvironment.GetAbsolutePath(File);
FileIO\WriteLinesToFile.cs (7)
93
AbsolutePath
filePath = FileUtilities.NormalizePath(TaskEnvironment.GetAbsolutePath(File.ItemSpec));
145
private bool ExecuteNonTransactional(
AbsolutePath
filePath, string directoryPath, string contentsAsString, Encoding encoding)
173
private bool ExecuteTransactional(
AbsolutePath
filePath, string directoryPath, string contentsAsString, Encoding encoding)
207
private bool SaveAtomically(
AbsolutePath
filePath, string contentsAsString, Encoding encoding)
281
private bool SaveAtomicallyAppend(
AbsolutePath
filePath, string directoryPath, string contentsAsString, Encoding encoding)
303
private bool ShouldWriteFileForOverwrite(
AbsolutePath
filePath, string contentsAsString)
344
private bool FilesAreIdentical(
AbsolutePath
filePath, string contentsAsString)
FileState.cs (2)
249
internal FileState(
AbsolutePath
path)
314
internal
AbsolutePath
Path
GenerateApplicationManifest.cs (2)
289
AbsolutePath
trustInfoPath = TaskEnvironment.GetAbsolutePath(TrustInfoFile.ItemSpec);
458
AbsolutePath
inputManifestPath = TaskEnvironment.GetAbsolutePath(InputManifest.ItemSpec);
GenerateLauncher.cs (1)
70
AbsolutePath
outputPath = string.IsNullOrEmpty(OutputPath) ? default : TaskEnvironment.GetAbsolutePath(OutputPath);
GenerateManifestBase.cs (2)
458
AbsolutePath
inputManifestPath = TaskEnvironment.GetAbsolutePath(InputManifest.ItemSpec);
620
AbsolutePath
outputManifestPath = TaskEnvironment.GetAbsolutePath(OutputManifest.ItemSpec);
GetInstalledSDKLocations.cs (2)
147
AbsolutePath
[] absoluteDirectoryRoots = TaskEnvironment.GetAbsolutePathsOrNull(SDKDirectoryRoots);
148
AbsolutePath
[] absoluteExtensionRoots = TaskEnvironment.GetAbsolutePathsOrNull(SDKExtensionDirectoryRoots);
GetReferenceAssemblyPaths.cs (6)
168
AbsolutePath
? absoluteRootPath = !string.IsNullOrEmpty(RootPath)
171
IList<
AbsolutePath
> absoluteFallbackSearchPaths = ResolveAbsoluteFallbackSearchPaths(TargetFrameworkFallbackSearchPaths);
255
private IList<String> GetPaths(
AbsolutePath
? rootPath, IList<
AbsolutePath
> fallbackSearchPaths, FrameworkNameVersioning frameworkmoniker)
291
private IList<
AbsolutePath
> ResolveAbsoluteFallbackSearchPaths(string fallbackSearchPaths)
299
var result = new
AbsolutePath
[parts.Length];
MakeDir.cs (1)
59
AbsolutePath
? absolutePath = null;
ManifestUtil\LauncherBuilder.cs (6)
44
AbsolutePath
path = string.IsNullOrEmpty(outputPath) ? default : TaskEnvironment.GetAbsolutePath(outputPath);
48
internal BuildResults Build(string filename,
AbsolutePath
outputPath)
66
AbsolutePath
launcherPath = string.IsNullOrEmpty(LauncherPath) ? default : TaskEnvironment.GetAbsolutePath(LauncherPath);
70
AbsolutePath
outputExe = new AbsolutePath(
98
private bool CopyLauncherToOutputDirectory(
AbsolutePath
launcher,
AbsolutePath
outputExe)
ManifestUtil\PathUtil.cs (2)
45
public static string Format(string path,
AbsolutePath
baseDirectory)
207
public static string Resolve(string path,
AbsolutePath
baseDirectory)
Move.cs (5)
161
AbsolutePath
? sourceFile = null;
162
AbsolutePath
? destinationFile = null;
198
private static void MakeWriteableIfReadOnly(
AbsolutePath
file)
212
AbsolutePath
sourceFile,
213
AbsolutePath
destinationFile)
NativeMethods.cs (2)
142
internal static bool MoveFileEx(
AbsolutePath
existingFileName,
AbsolutePath
newFileName, MoveFileFlags flags)
RedistList.cs (2)
991
AbsolutePath
canonicalPath = taskEnvironment.GetAbsolutePath(FileUtilities.NormalizeForPathComparison(path)).GetCanonicalFormNoThrow(log);
1006
internal
AbsolutePath
Path { get; }
RemoveDir.cs (2)
67
AbsolutePath
directoryPath = TaskEnvironment.GetAbsolutePath(directory.ItemSpec);
118
private bool RemoveDirectory(
AbsolutePath
directoryPath, bool logUnauthorizedError, out bool unauthorizedAccess)
StateFileBase.cs (2)
56
internal virtual void SerializeCache(
AbsolutePath
stateFile, TaskLoggingHelper log, bool serializeEmptyState = false)
110
internal static T DeserializeCache<T>(
AbsolutePath
stateFile, TaskLoggingHelper log) where T : StateFileBase
SystemState.cs (3)
595
AbsolutePath
stateFileAbsolutePath = taskEnvironment.GetAbsolutePath(stateFile.ItemSpec);
622
AbsolutePath
fullPath = taskEnvironment.GetAbsolutePath(Path.Combine(stateFileDirectory, relativePath)).GetCanonicalForm();
642
internal void SerializePrecomputedCache(
AbsolutePath
stateFile, TaskLoggingHelper log)
TaskEnvironmentExtensions.cs (12)
11
/// Extension methods for <see cref="TaskEnvironment"/> and <see cref="
AbsolutePath
"/> used by built-in tasks.
16
/// Returns the canonical form of an <see cref="
AbsolutePath
"/> (resolving ".." segments, etc.),
24
internal static
AbsolutePath
GetCanonicalFormNoThrow(this
AbsolutePath
absolutePath, TaskLoggingHelper? log = null)
42
internal static
AbsolutePath
[]? GetAbsolutePathsOrNull(this TaskEnvironment taskEnvironment, string[]? paths)
49
var result = new
AbsolutePath
[paths.Length];
69
/// Converts an array of <see cref="
AbsolutePath
"/> to a string array of <see cref="
AbsolutePath
.Value"/>s.
72
internal static string[]? ToStringArray(this
AbsolutePath
[]? paths)
89
/// Converts an array of <see cref="
AbsolutePath
"/> to a string array of <see cref="
AbsolutePath
.OriginalValue"/>s
93
internal static string[]? ToOriginalValueArray(this
AbsolutePath
[]? paths)
Touch.cs (3)
98
AbsolutePath
path;
182
AbsolutePath
file,
205
AbsolutePath
file,
Unzip.cs (4)
94
AbsolutePath
destinationPath = TaskEnvironment.GetAbsolutePath(DestinationFolder.ItemSpec);
114
AbsolutePath
sourceFilePath;
179
AbsolutePath
fullDestinationDirectoryPath = TaskEnvironment.GetAbsolutePath(FileUtilities.EnsureTrailingSlash(destinationDirectory.FullName)).GetCanonicalForm();
189
AbsolutePath
fullDestinationPath = TaskEnvironment.GetAbsolutePath(Path.Combine(destinationDirectory.FullName, zipArchiveEntry.FullName)).GetCanonicalForm();
WriteCodeFragment.cs (2)
110
AbsolutePath
outputFilePath = default;
124
AbsolutePath
outputDirectoryPath = TaskEnvironment.GetAbsolutePath(OutputDirectory.ItemSpec);
XmlPeek.cs (3)
74
AbsolutePath
? absoluteInputPath = XmlInputPath != null ? TaskEnvironment.GetAbsolutePath(XmlInputPath.ItemSpec) : null;
225
private readonly
AbsolutePath
? _filePath;
243
public XmlInput(
AbsolutePath
? xmlInputPath, string xmlContent)
XmlPoke.cs (1)
68
AbsolutePath
inputPath;
XslTransformation.cs (7)
112
AbsolutePath
?[] absoluteXmlInputPaths = XmlInputPaths != null
113
? Array.ConvertAll(XmlInputPaths, item => item.ItemSpec != null ? TaskEnvironment.GetAbsolutePath(item.ItemSpec) : (
AbsolutePath
?)null)
117
AbsolutePath
? absoluteXslInputPath = XslInputPath?.ItemSpec != null ? TaskEnvironment.GetAbsolutePath(XslInputPath.ItemSpec) : null;
274
private readonly
AbsolutePath
?[] _filePaths;
287
public XmlInput(
AbsolutePath
?[] xmlFilePaths, string xml)
366
private readonly
AbsolutePath
? _filePath;
400
public XsltInput(
AbsolutePath
? xsltFilePath, string xslt, string xsltCompiledDllSpec, TaskEnvironment taskEnvironment, TaskLoggingHelper logTool, bool preserveWhitespace)
ZipDirectory.cs (2)
66
AbsolutePath
sourceDirectoryAbsolutePath = TaskEnvironment.GetAbsolutePath(SourceDirectory.ItemSpec);
75
AbsolutePath
destinationFileAbsolutePath = TaskEnvironment.GetAbsolutePath(DestinationFile.ItemSpec);
Microsoft.Build.Utilities.Core (3)
ToolTask.cs (3)
893
AbsolutePath
filePath = !string.IsNullOrEmpty(fileName) ? TaskEnvironment.GetAbsolutePath(fileName) : new AbsolutePath(fileName, ignoreRootedCheck: true);
898
/// Overload of <see cref="DeleteTempFile(string)"/> that accepts an <see cref="
AbsolutePath
"/>.
903
protected void DeleteTempFile(
AbsolutePath
filePath)
Microsoft.NET.Build.Tasks (43)
CheckForTargetInAssetsFile.cs (1)
26
AbsolutePath
assetsFilePath = TaskEnvironment.GetAbsolutePath(AssetsFilePath);
CreateAppHost.cs (3)
65
AbsolutePath
appHostSource = TaskEnvironment.GetAbsolutePath(AppHostSourcePath);
66
AbsolutePath
appHostDest = TaskEnvironment.GetAbsolutePath(AppHostDestinationPath);
67
AbsolutePath
resourcesAssembly = TaskEnvironment.GetAbsolutePath(IntermediateAssembly);
DependencyContextBuilder.cs (4)
266
public DependencyContext Build((
AbsolutePath
Path, string DestinationSubPath)[] userRuntimeAssemblies = null)
629
private ModifiableRuntimeLibrary GetRuntimeLibrary(DependencyLibrary library, (
AbsolutePath
Path, string DestinationSubPath)[] userRuntimeAssemblies)
652
(
AbsolutePath
Path, string DestinationSubPath) assembly = userRuntimeAssemblies is not null
841
private RuntimeFile CreateRuntimeFile(string path,
AbsolutePath
fullPath, string localPath = null)
GenerateBundle.cs (1)
60
AbsolutePath
outputPath = string.IsNullOrEmpty(outputDir)
GenerateClsidMap.cs (2)
26
AbsolutePath
assemblyPath = TaskEnvironment.GetAbsolutePath(IntermediateAssembly);
27
AbsolutePath
clsidMapPath = TaskEnvironment.GetAbsolutePath(ClsidMapDestinationPath);
GenerateDepsFile.cs (4)
139
private void WriteDepsFile(
AbsolutePath
projectPath,
AbsolutePath
depsFilePath)
321
AbsolutePath
absoluteProjectPath = TaskEnvironment.GetAbsolutePath(ProjectPath);
322
AbsolutePath
absoluteDepsFilePath = TaskEnvironment.GetAbsolutePath(DepsFilePath);
GenerateRuntimeConfigurationFiles.cs (2)
133
AbsolutePath
assetsPath = TaskEnvironment.GetAbsolutePath(AssetsFilePath);
278
AbsolutePath
userConfigPath = TaskEnvironment.GetAbsolutePath(UserRuntimeConfig);
GenerateToolsSettingsFile.cs (1)
36
AbsolutePath
settingsPath = TaskEnvironment.GetAbsolutePath(ToolsSettingsFilePath);
GetAssemblyAttributes.cs (1)
25
AbsolutePath
templatePath = TaskEnvironment.GetAbsolutePath(PathToTemplateFile);
GetPackageDirectory.cs (1)
42
AbsolutePath
assetsFilePath = TaskEnvironment.GetAbsolutePath(AssetsFileWithAdditionalPackageFolders);
ProcessFrameworkReferences.cs (2)
1128
AbsolutePath
netCoreRoot = TaskEnvironment.GetAbsolutePath(NetCoreRoot);
1145
AbsolutePath
absolutePackPath = TaskEnvironment.GetAbsolutePath(packPath);
ResolvePackageDependencies.cs (1)
471
AbsolutePath
absProjectDir = string.IsNullOrEmpty(projectDirectory)
ResolveTargetingPackAssets.cs (18)
119
AbsolutePath
path = string.IsNullOrEmpty(targetingPackPath)
153
AbsolutePath
targetingPackRoot = targetingPack?.Path ?? default;
211
AbsolutePath
targetingPackDllFolder = TaskEnvironment.GetAbsolutePath(
225
AbsolutePath
platformManifestPath = TaskEnvironment.GetAbsolutePath(
228
AbsolutePath
packageOverridesPath = TaskEnvironment.GetAbsolutePath(
231
AbsolutePath
frameworkListPath = TaskEnvironment.GetAbsolutePath(
298
private static TaskItem CreatePackageOverride(string runtimeFrameworkName,
AbsolutePath
packageOverridesPath)
305
private void AddNetStandardTargetingPackAssets(TargetingPack targetingPack,
AbsolutePath
targetingPackRoot, List<TaskItem> referencesToAdd)
308
AbsolutePath
targetingPackAssetPath = TaskEnvironment.GetAbsolutePath(
455
private static bool TestFirstFileInFrameworkListUsingAssemblyNameConvention(
AbsolutePath
targetingPackDllFolder,
594
public
AbsolutePath
Path { get; private set; }
604
AbsolutePath
path,
681
public readonly
AbsolutePath
FrameworkListPath;
682
public readonly
AbsolutePath
TargetingPackRoot;
683
public readonly
AbsolutePath
TargetingPackDllFolder;
691
public FrameworkListDefinition(
AbsolutePath
frameworkListPath,
692
AbsolutePath
targetingPackRoot,
693
AbsolutePath
targetingPackDllFolder,
src\sdk\src\Tasks\Common\FileUtilities.cs (2)
26
public static Version? GetFileVersion(
AbsolutePath
sourcePath) => GetFileVersion(sourcePath.Value);
36
public static Version? TryGetAssemblyVersion(
AbsolutePath
sourcePath) => TryGetAssemblyVersion(sourcePath.Value);