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