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
{{ message }}
Repository navigation
Drop the SDK bug note from the AOT sample's doc setting #12
The native AOT sample sets PublishDocumentationFiles=false. That setting stays: a native executable ships no XML docs.
Its comment also says the .NET 11 rc.2 Compile-only AOT publish (dotnet/sdk#54515) never copies the project's XML file into OutDir, where publish looks for it (MSB3030 with GenerateDocumentationFile on). Once an SDK fixes that, drop that sentence from the comment. To check: publish a dotnet new console with PublishAot and GenerateDocumentationFile on and PublishDocumentationFiles left at its default.
Fixed in the .NET SDK 11.0.100 GA: a dotnet new console with PublishAot and GenerateDocumentationFile on now publishes cleanly with the XML copied (no MSB3030). The note is gone in 2776f5a; PublishDocumentationFiles=false stays, since a native executable ships no XML docs.
Activity
Agash commentedon Nov 11, 2026
Fixed in the .NET SDK 11.0.100 GA: a
dotnet new consolewithPublishAotandGenerateDocumentationFileon now publishes cleanly with the XML copied (no MSB3030). The note is gone in 2776f5a;PublishDocumentationFiles=falsestays, since a native executable ships no XML docs.