Closed Menghua1 closed 2 weeks ago
Reproduced even on main without any updates to 9.0 GA packages.
@mitchdenny I think this is because AddPythonApp
automatically implies PublishAsDockerFile()
without any verification that there is indeed a Dockerfile, so you get all the way through to azd trying to build it and it fails because there's no Dockerfile. Does that sound right?
Describe the issue: Running
azd init
fails with the following error: According to the error message, addto
samples\AspireWithPython\AspireWithPython.AppHost\AspireWithPython.AppHost.csproj
, and then runazd up
, and the following error is encountered:Repro Steps:
9.0.0-rc.1.24511.1
with9.0.0
, and change allAspire.Npgsql.EntityFrameworkCore.PostgreSQL
versions to9.0.0-preview.5.24526.2
.aspire-samples
.cd samples/AspireWithPython
.azd init
andazd up
.Environment:
Expected behavior: The command
azd init
andazd up
can be run successfully.@rajeshkamal5050, @vhvb1989 for notification.