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 |
Replies: 4 comments 12 replies
|
Maybe you can use |
|
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? |
|
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: Daniel Plaisted (@dsplaisted), Marc Paine (@marcpopMSFT), Chet Husk (@baronfel) |
|
Why does aspire even require a workload? |
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.