You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FormatsToProcess, NestedModules, and ModuleList elements of the module manifest are explicitly referencing the Documents folder in the user profile, and so the module fails to import when the Documents library has been redirected to another location.
Since the files referenced by those elements are directly in the module folder, I believe you should be able to remove the path altogether and just reference by file name (working for me locally).
The text was updated successfully, but these errors were encountered:
I just had to fix this and came here to pull request it but you don't check-in those files :/
If you still want the file paths, probably the safest change would be;
# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess =@("$PSScriptRoot\gShell.Format.ps1xml")
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules =@("$PSScriptRoot\gShell.dll")
and also lower down;
# List of all modules packaged with this module.
ModuleList =@("$PSScriptRoot\gShell.dll")
Sorry for the delay, it's been that-time-of-year for me at work. I'll take a look at this as soon as I can, and see about checking in those installation files (perhaps still not the images, but the other non-binary files).
I've checked in those files, you can find them here. At this time, I'm not even sure we need the format file, it was an experiment from a long time ago and frankly it's probably not needed. I'll test around removing those lines or altering them and seeing what the behavior is and how I should proceed. Thanks!
The
FormatsToProcess
,NestedModules
, andModuleList
elements of the module manifest are explicitly referencing the Documents folder in the user profile, and so the module fails to import when the Documents library has been redirected to another location.Since the files referenced by those elements are directly in the module folder, I believe you should be able to remove the path altogether and just reference by file name (working for me locally).
The text was updated successfully, but these errors were encountered: