Skip to content

Commit

Permalink
Add note on ThisAssemblyNamespace property in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Sep 16, 2024
1 parent 8ed3ae7 commit 53878c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ and may issue IDE-only warnings if no active sponsorship is detected.*
Expose project and assembly level information as constants in the ThisAssembly
class using source generators powered by Roslyn.

The main generated entry point type is `ThisAssembly` in the global namespace,
The main generated entry point type is `ThisAssembly` in the global namespace (by default),
and is declared as partial so you can extend it too with manually created members.

> Use `$(ThisAssemblyNamespace)` MSBuild property to set a root namespace for `ThisAssembly`.
Each package in turn extends this partial class to add their own nestes types
and members.

Expand Down

0 comments on commit 53878c2

Please sign in to comment.