9 references to GetTargetAndThrowIfNotFound
Microsoft.NET.Build.Tasks (9)
CheckForTargetInAssetsFile.cs (1)
29
lockFile.
GetTargetAndThrowIfNotFound
(TargetFramework, RuntimeIdentifier);
LockFileExtensions.cs (1)
84
var lockFileTarget = lockFile.
GetTargetAndThrowIfNotFound
(frameworkAlias, runtime);
ProjectContext.cs (1)
82
CompilationLockFileTarget = lockFile.
GetTargetAndThrowIfNotFound
(frameworkAlias, null);
ResolvePackageAssets.cs (6)
759
_compileTimeTarget = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, runtimeIdentifier: null);
760
_runtimeTarget = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, runtimeIdentifier: _task.EffectiveRuntimeIdentifier);
1392
runtimeTarget = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, runtimeIdentifier);
1418
var targetFramework = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, null).TargetFramework;
1651
var tfm = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, null).TargetFramework;
1668
var tfm = _lockFile.
GetTargetAndThrowIfNotFound
(_targetFramework, null).TargetFramework;