Skip to content

Commit

Permalink
+Mᐁ includes
Browse files Browse the repository at this point in the history
  • Loading branch information
devlooped-bot authored and kzu committed Nov 26, 2024
1 parent e19d659 commit 4be45a4
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,21 +313,14 @@ Optionally, you can specify the `Kind` metadata for a specific `EmbeddedResource
treated as a text file:

```xml
<ItemGroup>
<EmbeddedResource Include="query.kql" Kind="Text" />
</ItemGroup>
```

You can also add a `Comment` item metadata attribute, which will be used as the `<summary>` XML
doc for the generated member.

## Customizing the generated code

The following MSBuild properties can be used to customize the generated code:

| Property | Description |
|-------------------------|------------------------------------------------------------------------------------------------------|
| ThisAssemblyNamespace | Sets the namespace of the generated `ThisAssembly` root class. If not set, it will be in the global namespace. |
| ThisAssemblyVisibility | Sets the visibility modifier of the generated `ThisAssembly` root class. If not set, it will be internal. |

## Adding dynamic resources

You can also provide additional embedded resources dynamically, by running a target before
Expand All @@ -341,6 +334,15 @@ You can also provide additional embedded resources dynamically, by running a tar
</Target>
```

## Customizing the generated code

The following MSBuild properties can be used to customize the generated code:

| Property | Description |
|-------------------------|------------------------------------------------------------------------------------------------------|
| ThisAssemblyNamespace | Sets the namespace of the generated `ThisAssembly` root class. If not set, it will be in the global namespace. |
| ThisAssemblyVisibility | Sets the visibility modifier of the generated `ThisAssembly` root class. If not set, it will be internal. |

<!-- #resources -->
<!-- src/ThisAssembly.Resources/readme.md#resources -->

Expand Down

0 comments on commit 4be45a4

Please sign in to comment.