Open DennisL68 opened 3 months ago
That is not automatically supported. You can place them where you like and use CopyPaths:
then update module manifest manually.
But won't this be reset when I user .\build.ps pack
?
The module manifest is in source
- you have to test if it is retained from source to output during build.
During build phase you need to make the built module they way you want to have it before deploying.
Where do I place additional static data files so that they will be part of the module such as .json, .xml, .png etc.?
I.e. files that I would normally specify in the .psd1 file of the module.
I tried adding a file by hand in the output folder, hoping that
.\build.ps1 pack
would include it and then including it in the manifest file, but that failed as pack cleans the output folder first.The
Test-ModuleManifest .\CompleteSample.psd1
tests successfully if run before pack removes my added file from the output folder.