6 instantiations of DependencyContextBuilder
Microsoft.NET.Build.Tasks (2)
GenerateDepsFile.cs (2)
224builder = new DependencyContextBuilder(mainProject, IncludeRuntimeFileVersions, runtimeGraph, projectContext, lockFileLookup); 228builder = new DependencyContextBuilder(
Microsoft.NET.Build.Tasks.UnitTests (4)
GivenADependencyContextBuilder.cs (4)
69DependencyContext dependencyContext = new DependencyContextBuilder(mainProject, includeRuntimeFileVersions: false, runtimeGraph: null, projectContext: projectContext, libraryLookup: lockFileLookup) 286return new DependencyContextBuilder(mainProject, includeRuntimeFileVersions: false, runtimeGraph: null, projectContext: projectContext, libraryLookup: new LockFileLookup(lockFile)) 451DependencyContext dependencyContext = new DependencyContextBuilder(mainProject, includeRuntimeFileVersions: false, runtimeGraph: null, projectContext: projectContext, libraryLookup: new LockFileLookup(lockFile)) 512var dependencyContextBuilder = new DependencyContextBuilder(mainProject, includeRuntimeFileVersions: false, runtimeGraph, projectContext, libraryLookup: new LockFileLookup(lockFile));
16 references to DependencyContextBuilder
Microsoft.NET.Build.Tasks (15)
DependencyContextBuilder.cs (13)
120$"{nameof(DependencyContextBuilder)} Does not support non FrameworkDependent without assetfile. " + 162public DependencyContextBuilder WithReferenceAssemblies(IEnumerable<ReferenceInfo> referenceAssemblies) 170public DependencyContextBuilder WithDirectReferences(IEnumerable<ReferenceInfo> directReferences) 176public DependencyContextBuilder WithDependencyReferences(IEnumerable<ReferenceInfo> dependencyReferences) 182public DependencyContextBuilder WithCompileReferences(IEnumerable<ReferenceInfo> compileReferences) 193public DependencyContextBuilder WithResolvedNuGetFiles(IEnumerable<ResolvedFile> resolvedNuGetFiles) 204public DependencyContextBuilder WithReferenceProjectInfos(Dictionary<string, SingleProjectInfo> referenceProjectInfos) 210public DependencyContextBuilder WithMainProjectInDepsFile(bool includeMainProjectInDepsFile) 216public DependencyContextBuilder WithTrimLibrariesWithoutAssets(bool trimLibrariesWithoutAssets) 222public DependencyContextBuilder WithRuntimePackAssets(IEnumerable<RuntimePackAssetInfo> runtimePackAssets) 238public DependencyContextBuilder WithCompilationOptions(CompilationOptions compilationOptions) 244public DependencyContextBuilder WithReferenceAssembliesPath(string referenceAssembliesPath) 260public DependencyContextBuilder WithPackagesThatWereFiltered(Dictionary<PackageIdentity, string> packagesThatWhereFiltered)
GenerateDepsFile.cs (1)
205DependencyContextBuilder builder;
GenerateRuntimeConfigurationFiles.cs (1)
110$"{nameof(DependencyContextBuilder)} Does not support non FrameworkDependent without asset file. " +
Microsoft.NET.Build.Tasks.UnitTests (1)
GivenADependencyContextBuilder.cs (1)
512var dependencyContextBuilder = new DependencyContextBuilder(mainProject, includeRuntimeFileVersions: false, runtimeGraph, projectContext, libraryLookup: new LockFileLookup(lockFile));