Skip to content

[Add diagnostics]: ASPIRE008 for errors for projects that are still using the aspire workload #4106

@joperezr

Description

@joperezr

Rule Type

Error

Version Introduced

8.2.3 (Only here, as it doesn't exist in future versions)

Diagnostic ID

ASPIRE008

Short Title

The Aspire workload that this project depends on is now deprecated.

Description

This new warning is only being added for projects that are still using a version of Aspire that relies on the SDK Workload which has now been deprecated for almost a year. In an attempt to get projects in this state back to a supported version of aspire, this warning will notify them about the deprecation, and point them to a link to show them how to upgrade their projects to a supported version.

How to fix

A user in this state should either (recommended) follow the steps of the provided link (https://aka.ms/aspire/update-to-sdk) to migrate their packages to a supported version of aspire, or alternatively they could opt to suppress this error by setting the following property in their projects to true: SuppressAspireWorkloadDeprecationError. This is not recommended, as that would have them depend on a version of Aspire that is out of support.


Associated WorkItem - 474251

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3area-docsdoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions