22 references to Tool
dotnet-svcutil (1)
GlobalTool.cs (1)
26
return
Tool
.Main(arguments.ToArray());
dotnet-svcutil-lib (20)
AppInsightsTelemetryClient.cs (1)
120
context.GlobalProperties["SvcUtil.Version"] =
Tool
.PackageVersion;
Bootstrapper\SvcutilBootstrapper.cs (7)
19
private static readonly string s_bootstrapperParamsFileName = $"{
Tool
.ToolName}-bootstrapper.params.json";
28
this.Options.ProviderId = $"{
Tool
.ToolName}-bootstrap";
29
this.Options.Version =
Tool
.PackageVersion;
117
var svcutilPkgRef = ProjectDependency.FromAssembly(Path.Combine(Path.GetDirectoryName(
Tool
.FullPath),
Tool
.AssemblyName + ".dll"));
120
svcutilPkgRef = ProjectDependency.FromPackage(
Tool
.AssemblyName,
Tool
.PackageVersion);
CodeDomFixup\CodeDomVisitors\AttributeFixer.cs (2)
78
attr.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(
Tool
.ToolName)));
79
attr.Arguments.Add(new CodeAttributeArgument(new CodePrimitiveExpression(
Tool
.PackageVersion)));
CommandProcessorOptions.cs (1)
573
var baseDirName = $"{
Tool
.AssemblyName}_Temp";
Tool.cs (7)
32
_assemblyName = typeof(
Tool
).GetTypeInfo().Assembly.GetName().Name;
45
s_pkgVersion = typeof(
Tool
).GetTypeInfo().Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
59
_fullPath = typeof(
Tool
).GetTypeInfo().Assembly.Location;
119
options.ProviderId =
Tool
.ToolName;
120
options.Version =
Tool
.PackageVersion;
322
updateOptions.ProviderId =
Tool
.ToolName;
323
updateOptions.Version =
Tool
.PackageVersion;
ToolConsole.cs (2)
203
ToolConsole.WriteLine(string.Format(SR.LogoFormat,
Tool
.ToolName,
Tool
.PackageVersion, SR.Microsoft_Copyright_CommandLine_Logo), LogTag.Important);
dotnet-svcutil-lib.Tests (1)
UnitTest.cs (1)
34
exitCode =
Tool
.MainAsync(args, this_TestCaseLogger, CancellationToken.None).Result;