You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That package does not exist on NuGet. The Aspire.Hosting.Integration.Analyzers.csproj project in microsoft/aspire sets <IsPackable>false</IsPackable> — it builds, but it never ships as a standalone NuGet.
So consumers do not install a separate package — they reference Aspire.Hosting (which they already do when authoring a hosting integration) and opt in by setting the MSBuild property:
Anyone who follows the current guide and tries to restore Aspire.Hosting.Integration.Analyzers will hit NU1101 (package not found), and even if they could resolve it they would not actually get the analyzer running for [AspireExport] validation.
Proposed fix
Replace the Install the analyzer section in src/frontend/src/content/docs/extensibility/multi-language-integration-authoring.mdx to:
Drop the fake PackageReference.
Tell readers the analyzer is part of Aspire.Hosting.
Show the <EnableAspireIntegrationAnalyzers>true</EnableAspireIntegrationAnalyzers> opt-in.
Also update the diagnostics table heading prose that names the (non-existent) package.
Activity
docs: Fix Aspire.Hosting.Integration.Analyzers package reference in m…
Merge main into release/13.4 (#1148)