public override async Task <ProjectFileInfo> GetProjectFileInfoAsync(CancellationToken cancellationToken) { var compilerInputs = new VisualBasicCompilerInputs(this); var buildInfo = await BuildAsync("Vbc", compilerInputs, cancellationToken).ConfigureAwait(false); if (!compilerInputs.Initialized) { InitializeFromModel(compilerInputs, buildInfo.Project); } return(CreateProjectFileInfo(compilerInputs, buildInfo)); }
public override async Task<ProjectFileInfo> GetProjectFileInfoAsync(CancellationToken cancellationToken) { var compilerInputs = new VisualBasicCompilerInputs(this); var executedProject = await BuildAsync("Vbc", compilerInputs, cancellationToken).ConfigureAwait(false); if (!compilerInputs.Initialized) { InitializeFromModel(compilerInputs, executedProject); } return CreateProjectFileInfo(compilerInputs, executedProject); }