Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version introduced: 9.2
Publishers are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.
.NET Aspire introduced the concept of Publishers starting in version 9.2. Publishers play a pivotal role in the deployment process, enabling the transformation of your distributed app into deployable assets. This alleviates the intermediate step of producing the publishing manifest for tools to act on, instead empowering the developer to express their intent directly in C#.
Publishers are considered experimental and are expected to change in the future.
To correct this Error
Suppress the Error with either of the following methods:
Set the severity of the rule in the .editorconfig file.
[*.{cs,vb}] dotnet_diagnostic.ASPIREPUBLISHERS001.severity = none
For more information about editor config files, see Configuration files for code analysis rules.
Add the following
PropertyGroup
to your project file:<PropertyGroup> <NoWarn>$(NoWarn);ASPIREPUBLISHERS001</NoWarn> </PropertyGroup>
Suppress in code with the
#pragma warning disable ASPIREPUBLISHERS001
directive.
.NET Aspire