diff --git a/src/ThisAssembly.Resources/ThisAssembly.Resources.targets b/src/ThisAssembly.Resources/ThisAssembly.Resources.targets index ead0d830..89048885 100644 --- a/src/ThisAssembly.Resources/ThisAssembly.Resources.targets +++ b/src/ThisAssembly.Resources/ThisAssembly.Resources.targets @@ -28,9 +28,11 @@ + + + DependsOnTargets="PrepareEmbeddedResources"> %(RelativeDir)%(Filename) diff --git a/src/ThisAssembly.Resources/readme.md b/src/ThisAssembly.Resources/readme.md index 32b98f49..d83a3e5a 100644 --- a/src/ThisAssembly.Resources/readme.md +++ b/src/ThisAssembly.Resources/readme.md @@ -52,6 +52,19 @@ The following MSBuild properties can be used to customize the generated code: | 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 +`PrepareEmbeddedResources`: + +```xml + + + + + +``` + \ No newline at end of file