1 write to g_SvcutilPkgVersion
dotnet-svcutil-lib.Tests (1)
TestInit.cs (1)
576
g_SvcutilPkgVersion
= nugetId.Substring("dotnet-svcutil-lib.".Length);
7 references to g_SvcutilPkgVersion
dotnet-svcutil-lib.Tests (7)
E2ETests.cs (1)
27
WriteLog("Svcutil version: " +
g_SvcutilPkgVersion
);
GlobalToolTests.cs (1)
199
options.Version =
g_SvcutilPkgVersion
;
TestInit.cs (5)
170
Assert.False(string.IsNullOrEmpty(
g_SvcutilPkgVersion
), $"{nameof(
g_SvcutilPkgVersion
)} is not initialized!");
185
ret = ProcessRunner.TryRunAsync("dotnet", $"tool install --global --add-source {pkgPath} dotnet-svcutil --version {
g_SvcutilPkgVersion
}", currentDirectory, null, CancellationToken.None).Result;
547
if (
g_SvcutilPkgVersion
== null)
579
return
g_SvcutilPkgVersion
;