File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments