1 write to _task
Microsoft.NET.Build.Tasks (1)
ResolvePackageAssets.cs (1)
726_task = task;
37 references to _task
Microsoft.NET.Build.Tasks (37)
ResolvePackageAssets.cs (37)
742_runtimeTarget = _lockFile.GetTargetAndReturnNullIfNotFound(_targetFramework, runtimeIdentifier: _task.EffectiveRuntimeIdentifier); 757_runtimeTarget = _lockFile.GetTargetAndThrowIfNotFound(_targetFramework, runtimeIdentifier: _task.EffectiveRuntimeIdentifier); 774Directory.CreateDirectory(Path.GetDirectoryName(_task.ProjectAssetsCacheFile)); 775var stream = File.Open(_task.ProjectAssetsCacheFile, FileMode.Create, FileAccess.ReadWrite, FileShare.None); 835_writer.Write(_task.HashSettings()); 982if (ParseCompilerApiVersion(_cacheWriter._task.CompilerApiVersion, out ReadOnlyMemory<char> compilerName, out Version compilerVersion)) 995if (NuGetUtils.IsApplicableAnalyzer(file, _cacheWriter._task.ProjectLanguage)) 1217if (_task.DisableFrameworkAssemblies) 1283if (_task.EnsureRuntimePackageDependencies && !string.IsNullOrEmpty(_task.EffectiveRuntimeIdentifier)) 1287WriteItem(string.Format(Strings.UnsupportedRuntimeIdentifier, _task.EffectiveRuntimeIdentifier)); 1313if (_task.VerifyMatchingImplicitPackageVersion && 1314_task.ExpectedPlatformPackages != null) 1316foreach (var implicitPackage in _task.ExpectedPlatformPackages) 1373if (_task.ShimRuntimeIdentifiers == null || _task.ShimRuntimeIdentifiers.Length == 0) 1378foreach (var runtimeIdentifier in _task.ShimRuntimeIdentifiers.Select(r => r.ItemSpec)) 1380bool throwIfAssetsFileTargetNotFound = !_task.DesignTimeBuild; 1383if (_task.DesignTimeBuild) 1392var apphostName = _task.DotNetAppHostExecutableNameWithoutExtension + ExecutableExtension.ForRuntimeIdentifier(runtimeIdentifier); 1448var implicitPackageReferences = CollectSDKReferencesDesignTime.GetImplicitPackageReferences(_task.DefaultImplicitPackages); 1579if (alias == _task.TargetFramework) 1591return alias == _task.TargetFramework; 1633_task.SatelliteResourceLanguages == null || 1634_task.SatelliteResourceLanguages.Any(lang => 1651_task.Log.LogWarning(Strings.PackageContainsIncorrectlyCasedLocale, package.Name, package.Version.ToNormalizedString(), locale, normalizedLocale); 1658_task.Log.LogMessage(MessageImportance.Low, Strings.PackageContainsIncorrectlyCasedLocale, package.Name, package.Version.ToNormalizedString(), locale, normalizedLocale); 1668_task.Log.LogWarning(Strings.PackageContainsUnknownLocale, package.Name, package.Version.ToNormalizedString(), cnf.InvalidCultureName); 1675_task.Log.LogMessage(MessageImportance.Low, Strings.PackageContainsUnknownLocale, package.Name, package.Version.ToNormalizedString(), cnf.InvalidCultureName); 1716if (_task.CopyLocalRuntimeTargetAssets) 1733if (_task.DisableTransitiveProjectReferences) 1763if (_task.DisableTransitiveFrameworkReferences) 1899if ((!_task.IsSelfContained || string.IsNullOrEmpty(_runtimeTarget.RuntimeIdentifier)) && 1900_task.PlatformLibraryName != null) 1903var platformLibrary = _runtimeTarget.GetLibrary(_task.PlatformLibraryName); 1921if (_task.PackageReferences != null) 1923var excludeFromPublishPackageReferences = _task.PackageReferences