aws / aws/aws-dotnet-deploy

Cannot deploy Blazor app that uses Central Package Management (CPM)

Open
#705 1 comment 0 reactions 0 assignees View on GitHub
bug p2 queued
Dominant language
C#
Stars
158
Forks
32
Avg merge
1d 23h
Merged PRs (30d)
4

Description

### Describe the bug

When attempting to deploy a Blazor WASM app that uses NuGet [Central Package Management (CPM)](https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management) the error message: `There are no compatible deployment recommendations for this application.` is shown.

Removing CPM allows the app to be deployed normally.

### Expected Behavior

The Blazor WASM app to be deployed successfully.

### Current Behavior

When attempting to deploy the singular error message is shown: `There are no compatible deployment recommendations for this application.`

### Reproduction Steps

1. Add CPM to any Blazor WASM using the official docs: [Central Package Management (CPM)](https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management)
2. Attempt to deploy using `dotnet aws deploy ...`.

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### Version used

1.3.7

### Operating System and version

Ubuntu 20.04.5 LTS

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a Blazor WASM app configured with NuGet Central Package Management, then run the mentioned `dotnet aws deploy ...` command on Ubuntu 20.04.5. Trace why deployment produces no compatible deployment recommendations; done means the CPM-enabled application deploys successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
cli, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.