AppContext.BaseDirectory in C# PowerShell module returns unexpected path
I have a PowerShell module written in C#. I have a “Assets” directory with some files as part of the module. When I publish the module to a local directory, it has structure like this: