Choose Aspire Workload Version #2230
-
How can I choose a specific version of Aspire? The following command will always picks the latest version, which is not ideal for CI/CD. dotnet workload install aspire |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
Maybe you can use |
Beta Was this translation helpful? Give feedback.
-
https://learn.microsoft.com/en-us/dotnet/core/tools/global-json Can global.json be used to pin something other than .NET SDK, such as aspire workload? |
Beta Was this translation helpful? Give feedback.
-
This is a great question, @carlosharrycrf. As of today, workloads don't have an easy built-in way to "pin" a specific version, but there has been a lot of thinking in this area so I can share some info that you may find interesting.
And then just run the regular workload update and install commands with the extra parameter:
Hope the above makes sense, but if there are any follow up questions, please don't hesitate to ask. cc: @dsplaisted, @marcpopMSFT, @baronfel |
Beta Was this translation helpful? Give feedback.
-
Why does aspire even require a workload? |
Beta Was this translation helpful? Give feedback.
This is a great question, @carlosharrycrf. As of today, workloads don't have an easy built-in way to "pin" a specific version, but there has been a lot of thinking in this area so I can share some info that you may find interesting.