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