Cannot deploy Blazor app that uses Central Package Management (CPM)
- 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
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