diff --git a/global.json b/global.json index 8942dabc5efc..3a464ec16615 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "6.0.100-preview.7.21327.2" + "version": "6.0.100-preview.6.21313.2" }, "tools": { - "dotnet": "6.0.100-preview.7.21327.2", + "dotnet": "6.0.100-preview.6.21313.2", "runtimes": { "dotnet/x64": [ "2.1.27", diff --git a/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj b/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj index f791ea3a786f..11eacdddfeab 100644 --- a/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj +++ b/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj @@ -8,6 +8,7 @@ Clien caching isn't part of our performance measurement, so we'll skip it. --> false + false diff --git a/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj b/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj index 3033eb876c55..5642e0dc6bef 100644 --- a/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj +++ b/src/Components/test/testassets/BasicTestApp/BasicTestApp.csproj @@ -11,6 +11,7 @@ true + false diff --git a/src/ProjectTemplates/Shared/Project.cs b/src/ProjectTemplates/Shared/Project.cs index 37024ae9c0a7..dfb6129f6aaf 100644 --- a/src/ProjectTemplates/Shared/Project.cs +++ b/src/ProjectTemplates/Shared/Project.cs @@ -109,6 +109,8 @@ internal async Task RunDotNetNewAsync( Directory.Delete(TemplateOutputDir, recursive: true); } + // Temporary while investigating why this process occasionally never runs or exits on Debian 9 + environmentVariables.Add("COREHOST_TRACE", "1"); using var execution = ProcessEx.Run(Output, AppContext.BaseDirectory, DotNetMuxer.MuxerPathOrDefault(), argString, environmentVariables); await execution.Exited; return new ProcessResult(execution); diff --git a/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs b/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs index b50068b3e59e..9a6c698ffb33 100644 --- a/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs +++ b/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs @@ -128,8 +128,8 @@ private static async Task InstallTemplatePackages(ITestOutputHelper output) private static async Task VerifyCanFindTemplate(ITestOutputHelper output, string templateName) { - var proc = await RunDotNetNew(output, $"--list"); - if (!(proc.Output.Contains($" {templateName} ") || proc.Output.Contains($",{templateName}") || proc.Output.Contains($"{templateName},"))) + var proc = await RunDotNetNew(output, $""); + if (!proc.Output.Contains($" {templateName} ")) { throw new InvalidOperationException($"Couldn't find {templateName} as an option in {proc.Output}."); }