Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module Version: 5.1.18362.1714 | 5.13.3
Still having issues with modules not loading if I compile after launching PSScriptPad through VSCode. If I package by launching PSScriptPad and open the file there, the resulting EXE will load the modules. I happened to notice however that after adding a new button to my form, it doesn’t show up. I tried moving the script.ps1, script.designer.ps1 and script.resources.ps1 to a new location. Still doesn’t see the new button, but editing script.designer.ps1 you do see the button there.
How does one relink the resources to the script file or force it to refresh?