Api service and Web App fail to start
Type of issue
Code doesn't work
Description
[Enter feedback here] After completing the deployment, API service and Web App crash. The logs on Azure reveal for both components the error message:
You must install or update .NET to run this application.
It is not obvious which of the 100 steps must be adjusted to fix this failure.
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment?tabs=visual-studio%2Cinstall-az-windows%2Cpowershell&pivots=azure-bicep
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/deployment/azure/aca-deployment.md
Document Version Independent Id
1362fc62-686d-2b3f-c139-7725fc8dca5f
Article author
@IEvangelist
Tagging @bradygaster on this one.
@alexwolfmsft - do you know what this might be related to? Have you experienced it before?
Hi @Monte-Christo - could you try to upgrade to preview-3 and report back if you're able to reproduce this.
This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.
Well, it took some time (I have a day job) but I was able to update all components and try again: no joy. This is my version of the Aspire SDK:
aspire 8.0.0-preview.4.24156.9/8.0.100 VS 17.10.34707.107
After deploying to Azure, I am getting the same error as before (see log entry attached). Maybe it is time to do some real investigating?
Hi again @Monte-Christo - if you're still seeing this issue, I don't believe it's a docs issue, but rather a product issue. Preview 7 just released last week, and the product officially goes GA next week with //build. That means support too. Curious if you're still seeing the issue, if so, I'll transfer this to dotnet/aspire.