Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .agents/skills/dotnet-codestyle/references/project-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
`<PropertyGroup Condition="'$(PublishAot)' == 'true'">`, placed in the `.csproj` after it sets
`PublishAot` or in `Directory.Build.targets`, never in `Directory.Build.props`, which is imported
before the project body and so never sees a `PublishAot` the `.csproj` sets. Reference
verification reports `IL3058` for every dependency not built AOT-compatible, and
`TreatWarningsAsErrors` turns that into a failed build on ordinary dependencies such as
`System.CommandLine` and the Serilog sinks, so it runs only where an AOT publish needs it.
verification reports `IL3058` for every referenced assembly that lacks `IsAotCompatible` metadata
set to `true`, and `TreatWarningsAsErrors` turns that into a failed build on any such
dependency, so it runs only where an AOT publish needs it.
3. **Assembly information**: use semantic versioning, include SourceLink
(`<PublishRepositoryUrl>true</PublishRepositoryUrl>`), embed untracked sources
(`<EmbedUntrackedSources>true</EmbedUntrackedSources>`).
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6afeadd6c65bfd8a
4e9d6c62e1680a27
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
`<PropertyGroup Condition="'$(PublishAot)' == 'true'">`, placed in the `.csproj` after it sets
`PublishAot` or in `Directory.Build.targets`, never in `Directory.Build.props`, which is imported
before the project body and so never sees a `PublishAot` the `.csproj` sets. Reference
verification reports `IL3058` for every dependency not built AOT-compatible, and
`TreatWarningsAsErrors` turns that into a failed build on ordinary dependencies such as
`System.CommandLine` and the Serilog sinks, so it runs only where an AOT publish needs it.
verification reports `IL3058` for every referenced assembly that lacks `IsAotCompatible` metadata
set to `true`, and `TreatWarningsAsErrors` turns that into a failed build on any such
dependency, so it runs only where an AOT publish needs it.
3. **Assembly information**: use semantic versioning, include SourceLink
(`<PublishRepositoryUrl>true</PublishRepositoryUrl>`), embed untracked sources
(`<EmbedUntrackedSources>true</EmbedUntrackedSources>`).
Expand Down
6 changes: 3 additions & 3 deletions .github/skills/dotnet-codestyle/references/project-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
`<PropertyGroup Condition="'$(PublishAot)' == 'true'">`, placed in the `.csproj` after it sets
`PublishAot` or in `Directory.Build.targets`, never in `Directory.Build.props`, which is imported
before the project body and so never sees a `PublishAot` the `.csproj` sets. Reference
verification reports `IL3058` for every dependency not built AOT-compatible, and
`TreatWarningsAsErrors` turns that into a failed build on ordinary dependencies such as
`System.CommandLine` and the Serilog sinks, so it runs only where an AOT publish needs it.
verification reports `IL3058` for every referenced assembly that lacks `IsAotCompatible` metadata
set to `true`, and `TreatWarningsAsErrors` turns that into a failed build on any such
dependency, so it runs only where an AOT publish needs it.
3. **Assembly information**: use semantic versioning, include SourceLink
(`<PublishRepositoryUrl>true</PublishRepositoryUrl>`), embed untracked sources
(`<EmbedUntrackedSources>true</EmbedUntrackedSources>`).
Expand Down
Loading