I have created a "Powershell Module Project" within Visual Studio 2015 and wrote some functions for the module. When I make changes to the .psm1 file and try to unit test these changes with the Pester framework (.test.ps1 file) the new changes are not applied during the test. This happens in Visual Studio 2015 and Visual Studio 2017.
I've tried:
- "Clean Solution", "Rebuild Solution" and "Build Solution"
- "Unload Project" and "Reload Project"
- "Close Solution" and "Open Solution"
The only solution I've found so far is to reopen the IDE.
Where might this issue originate from and is there any other solution to it?