Skip to content

Commit 0925538

Browse files
devlooped-botkzu
authored andcommittedNov 26, 2024·
+Mᐁ includes
1 parent f890f3c commit 0925538

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎readme.md

+13
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,19 @@ The following MSBuild properties can be used to customize the generated code:
328328
| ThisAssemblyNamespace | Sets the namespace of the generated `ThisAssembly` root class. If not set, it will be in the global namespace. |
329329
| ThisAssemblyVisibility | Sets the visibility modifier of the generated `ThisAssembly` root class. If not set, it will be internal. |
330330

331+
## Adding dynamic resources
332+
333+
You can also provide additional embedded resources dynamically, by running a target before
334+
`PrepareEmbeddedResources`:
335+
336+
```xml
337+
<Target Name="AddDynamicResources" BeforeTargets="PrepareEmbeddedResources">
338+
<ItemGroup>
339+
<EmbeddedResource Include="Content/Docs/$(Configuration).md" />
340+
</ItemGroup>
341+
</Target>
342+
```
343+
331344
<!-- #resources -->
332345
<!-- src/ThisAssembly.Resources/readme.md#resources -->
333346

0 commit comments

Comments
 (0)
Please sign in to comment.