1 write to Builder
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
155Builder = new VirtualProjectBuilder(BuildService.Instance, entryPointFileFullPath, TargetFramework, MSBuildArgs.GetResolvedTargets(), artifactsPath);
19 references to Builder
dotnet (19)
Commands\Run\VirtualProjectBuildingCommand.cs (19)
126field = FileLevelDirectiveHelpers.FindDirectives(Builder.EntryPointSourceFile, reportAllErrors: false, ThrowingReporter); 164bool evalOnly = msbuildGet && Builder.RequestedTargets is null or []; 191CreateTempSubdirectory(Builder.ArtifactsPath); 224EntryPointFileFullPath = Builder.EntryPointFileFullPath, 225ArtifactsPath = Builder.ArtifactsPath, 317var effectiveTargets = Builder.RequestedTargets is { Length: > 0 } requestedTargets 505string rspPath = CSharpCompilerCommand.WriteCscRspFile(Builder.ArtifactsPath, cache.CurrentEntry.CscArguments); 545var entryPointFileDirectory = Path.GetDirectoryName(Builder.EntryPointFileFullPath); 548var mapping = Builder.GetItemMappingAsync(projectInstance.Wrap(), ErrorReporters.IgnoringReporter).AsTask().GetAwaiter().GetResult(); 566cache.CurrentEntry.AdditionalSources.Remove(Builder.EntryPointFileFullPath); 778var entryPointFile = new FileInfo(Builder.EntryPointFileFullPath); 826string artifactsDirectory = Builder.ArtifactsPath; 1031return DeserializeCacheEntry(Path.Join(Builder.ArtifactsPath, BuildSuccessCacheFileName)); 1054Reporter.Verbose.WriteLine("No need to build, the output is up to date. Cache: " + Builder.ArtifactsPath); 1140string directory = Builder.ArtifactsPath; 1159string directory = Builder.ArtifactsPath; 1165File.WriteAllText(Path.Join(directory, BuildStartCacheFileName), Builder.EntryPointFileFullPath); 1175string successCacheFile = Path.Join(Builder.ArtifactsPath, BuildSuccessCacheFileName); 1191var result = Builder.CreateProjectInstanceAsync(