Running PdN 4.2.9 in portable mode by placing <add key="PaintDotNet.EnablePortableMode" value="true"/> in PaintDotNet.exe.config results in the error message below. Without the PaintDotNet.EnablePortableMode key PdN runs perfectly.
PdN 4.2.8 does not have this problem.