I am trying to convert the Publishing Service Module to a WDP, but I am receiving this error. I have searched and do not see a solution that applies to the Sitecore Azure Toolkit
ConvertTo-SCModuleWebDeployPackage: The type initializer for 'DotNet.Basics.IO.SystemIoPath' threw an exception.
My PowerShell (running PowerShell 7 in admin mode after loading both the module and dll is as follows. I have dacpac installed):
ConvertTo-SCModuleWebDeployPackage -Path "C:\Sitecore Azure Toolkit\SitecorePublishingModule1020rev00631.zip" -Destination "C:\Sitecore Azure Toolkit" -force -verbose