Edit

Share via


.NET Aspire diagnostics list

The following table lists the possible MSBuild and .NET Analyzer warnings and errors you might encounter with .NET Aspire:

Diagnostic ID Type Description
ASPIRE001 Warning The code language isn't fully supported by Aspire, some code generation targets will not run.
ASPIRE002 Warning Project is an Aspire AppHost project but necessary dependencies aren't present. Are you missing an Aspire.Hosting.AppHost PackageReference?
ASPIRE003 Warning 'Project' is a .NET Aspire AppHost project that requires Visual Studio version 17.10 or above to work correctly.
ASPIRE004 Warning 'Project' is referenced by an Aspire Host project, but it is not an executable.
ASPIRE006 (Experimental) Error Application model items must have valid names.
ASPIRE007 Error 'Project' requires a reference to "Aspire.AppHost.Sdk" with version "9.0.0" or greater to work correctly.
ASPIREACADOMAINS001 (Experimental) Error ConfigureCustomDomain is for evaluation purposes only and is subject to change or removal in future updates.
ASPIREAZURE001 (Experimental) Error Publishers are for evaluation purposes only and are subject to change or removal in future updates.
ASPIRECOMPUTE001 (Experimental) Error Compute related types and members are for evaluation purposes only and is subject to change or removal in future updates.
ASPIRECOSMOSDB001 (Experimental) Error RunAsPreviewEmulator is for evaluation purposes only and is subject to change or removal in future updates.
ASPIREHOSTINGPYTHON001 (Experimental) Error AddPythonApp is for evaluation purposes only and is subject to change or removal in future updates.
ASPIREPROXYENDPOINTS001 (Experimental) Error ProxyEndpoint members are for evaluation purposes only and are subject to change or removal in future updates.
ASPIREPUBLISHERS001 Error Publishers are for evaluation purposes only and are subject to change or removal in future updates.