From 756dfe663d0759aa0d2a0e1208502a403a398c32 Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Tue, 14 May 2024 20:09:55 -0700 Subject: [PATCH] Removing constraint from templates to avoid SDK multithreading issue (#4176) --- .../templates/aspire-apphost/.template.config/template.json | 6 ------ .../templates/aspire-empty/.template.config/template.json | 6 ------ .../templates/aspire-mstest/.template.config/template.json | 6 ------ .../templates/aspire-nunit/.template.config/template.json | 6 ------ .../aspire-servicedefaults/.template.config/template.json | 6 ------ .../templates/aspire-starter/.template.config/template.json | 6 ------ .../templates/aspire-xunit/.template.config/template.json | 6 ------ 7 files changed, 42 deletions(-) diff --git a/src/Aspire.ProjectTemplates/templates/aspire-apphost/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-apphost/.template.config/template.json index 2ed60b7235..fa16172356 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-apphost/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-apphost/.template.config/template.json @@ -23,12 +23,6 @@ "guids": [ "98048C9C-BF28-46BA-A98E-63767EE5E3A8" ], - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-empty/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-empty/.template.config/template.json index 47f28a674d..bbd83e0f94 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-empty/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-empty/.template.config/template.json @@ -43,12 +43,6 @@ ] } ], - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-mstest/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-mstest/.template.config/template.json index 31c19eb8b1..3fb437655f 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-mstest/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-mstest/.template.config/template.json @@ -25,12 +25,6 @@ "identity": "Aspire.Tests.MSTest.CSharp.8.0", "thirdPartyNotices": "https://aka.ms/dotnet/aspire/8.0-third-party-notices", "groupIdentity": "Aspire.Tests.MSTest", - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-nunit/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-nunit/.template.config/template.json index a2a43d9864..7c7fcd44dd 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-nunit/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-nunit/.template.config/template.json @@ -25,12 +25,6 @@ "identity": "Aspire.Tests.NUnit.CSharp.8.0", "thirdPartyNotices": "https://aka.ms/dotnet/aspire/8.0-third-party-notices", "groupIdentity": "Aspire.Tests.NUnit", - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/.template.config/template.json index c41442fb9a..8b88a76d7f 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/.template.config/template.json @@ -24,12 +24,6 @@ "identity": "Aspire.ServiceDefaults.CSharp.8.0", "thirdPartyNotices": "https://aka.ms/dotnet/aspire/8.0-third-party-notices", "groupIdentity": "Aspire.ServiceDefaults", - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-starter/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-starter/.template.config/template.json index 0597b33a95..cb8cbe45b0 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-starter/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-starter/.template.config/template.json @@ -53,12 +53,6 @@ ] } ], - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter", diff --git a/src/Aspire.ProjectTemplates/templates/aspire-xunit/.template.config/template.json b/src/Aspire.ProjectTemplates/templates/aspire-xunit/.template.config/template.json index 0e8aba104d..98dbfa80d2 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-xunit/.template.config/template.json +++ b/src/Aspire.ProjectTemplates/templates/aspire-xunit/.template.config/template.json @@ -25,12 +25,6 @@ "identity": "Aspire.Tests.xUnit.CSharp.8.0", "thirdPartyNotices": "https://aka.ms/dotnet/aspire/8.0-third-party-notices", "groupIdentity": "Aspire.Tests.xUnit", - "constraints": { - "aspire": { - "type": "workload", - "args": [ "aspire" ] - } - }, "symbols": { "Framework": { "type": "parameter",