Open
Description
Describe the issue:
Running the azd deploy
command fails with the following error message:
Repro Steps:
- Clone code.
- Run command
cd samples/DatabaseContainers
. - Run command
azd init
. - Run command
azd up
.
Environment:
- Azd version: azd version 1.12.0-beta.1-daily.4359062 (commit Azure/azure-dev@6cd82ae).
- Aspire version:
9.0.0
. - Sample: DatabaseContainers, DatabaseMigrations, VolumeMount.
- Dotnet SDK version:
9.0.100
. - Branch: main.
Expected behavior:
azd deploy
command can be executed successfully.
Suggestion:
There are two solutions:
- Add the following code to the
<ItemGroup>
tag in the DatabaseContainers.ApiService.csproj, VolumeMount.BlazorWeb.csproj, DatabaseMigrations.ApiModel.csproj and DatabaseMigrations.ApiService.csproj:
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
- Add the following code in the
<PropertyGroup>
tag in the DatabaseContainers.ApiService.csproj, VolumeMount.BlazorWeb.csproj, DatabaseMigrations.ApiModel.csproj, DatabaseMigrations.ApiService.csproj and DatabaseMigrations.MigrationService.csproj:
<NoWarn>NU1903;NU1902</NoWarn>
@rajeshkamal5050, @vhvb1989 for notification.
Metadata
Assignees
Labels
No labels