1 instantiation of MSBuildProj
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
174MSBuildProj msbuildProj = new MSBuildProj
22 references to MSBuildProj
dotnet-svcutil-lib (22)
Bootstrapper\SvcutilBootstrapper.cs (2)
21private MSBuildProj MSBuildProj { get; set; } 123this.MSBuildProj = await MSBuildProj.DotNetNewAsync(projectFullPath, logger, cancellationToken).ConfigureAwait(false);
CommandProcessorOptions.cs (3)
370this.Project = await MSBuildProj.FromPathAsync(projectFile, this.Logger, cancellationToken).ConfigureAwait(false); 695using (var proj = await MSBuildProj.DotNetNewAsync(projectFullPath, this.Logger, cancellationToken).ConfigureAwait(false))
Shared\MSBuildProj.cs (9)
154public static async Task<MSBuildProj> FromPathAsync(string filePath, ILogger logger, CancellationToken cancellationToken) 156var project = await ParseAsync(File.ReadAllText(filePath), filePath, logger, cancellationToken).ConfigureAwait(false); 161internal static async Task<MSBuildProj> FromPathAsync(string filePath, ILogger logger, string tfMoniker, CancellationToken cancellationToken) 163var project = await ParseAsync(File.ReadAllText(filePath), filePath, logger, cancellationToken, tfMoniker).ConfigureAwait(false); 168public static async Task<MSBuildProj> ParseAsync(string projectText, string projectFullPath, ILogger logger, CancellationToken cancellationToken, string tfMoniker = "") 174MSBuildProj msbuildProj = new MSBuildProj 377public static async Task<MSBuildProj> DotNetNewAsync(string fullPath, ILogger logger, CancellationToken cancellationToken, string optional = "") 381MSBuildProj project = null; 1044throw new ObjectDisposedException(nameof(MSBuildProj));
Shared\Options\OptionValueParser.cs (4)
62else if (valueType == typeof(MSBuildProj)) 64value = CreateValue<MSBuildProj>(() => MSBuildProj.FromPathAsync(stringValue, null, System.Threading.CancellationToken.None).Result, option, stringValue); 120else if (value is MSBuildProj proj)
Shared\Options\SvcutilOptions.cs (3)
40public MSBuildProj Project { get { return GetValue<MSBuildProj>(ProjectFileKey); } set { SetValue(ProjectFileKey, value); } } 59new SingleValueOption<MSBuildProj>(ProjectFileKey, ProjectFileKey),
Tool.cs (1)
271private static async Task<bool> AddProjectReferencesAsync(MSBuildProj project, CommandProcessorOptions options, CancellationToken cancellationToken)