Closed danielniccoli closed 1 year ago
This has been fixed, and cannot be reproduced with the template now.
It seems you either removed "VersionedOutputDirectory" from your build.psd1 or did not have a build.psd1
Basically, this happened because your output ended up in Output\MyNewModule.psd1
instead of in Output\MyNewModule\1.0.0\MyNewModule.psd1
-- where it should come out if you just use the template as-is.
When the build.psd1
is not present, the fact that you have two copies of MyNewModule.psd1 means that ModuleBuilder can't tell which one is the base.
Build-Module
throws an error when it is invoked again.