Closed SWarnberg closed 2 months ago
Did you update everything?
Frameworks and packages? Yes, everything on latest version (as of today).
Same issue, <PackageReference Include="Aspire.Hosting.AppHost" Version="8.1.0" />
But playground withdockerfile in source code is ok.
The image build workflow may not be invoked.
Did you update the workload?
I updated the workload to 8.1.0. Didn't resolve the problem.
fixed now.sudo dotnet workload update
Thanks guys.
For me, I had to update the workload and update Visual Studio from 17.10.4 to 17.10.5, and then it worked. (Package references were already up-to-date.)
Yes, now it works with latest workloads and versions.
Is there an existing issue for this?
Describe the bug
Since Azure Functions is not yet supported in Aspire, I thought that creating a Dockerfile in the Function project would give me better control in the deployed App. I get problems when Aspire deploys the project (like the gRPC error).
However, referencing the documentation at https://learn.microsoft.com/en-us/dotnet/aspire/app-host/withdockerfile, which states that you can specify a Dockerfile to build when the app host is starting, the Docker image is not being built.
I've added the following to the app host project:
When running the project, I can clearly see that the image is not being built. Instead, the console shows the following error, which indicates that the image should already exist.
Expected Behavior
According to the documentation, the docker image should be built when the app host is running. Or is there a step in the documentation that is missing?
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
No response
Anything else?