64 bit version
Operating system: x64 Windows 10 Pro, version 1809 fully patched
I keep having errors when I run form projects. Below is the error and it happens even if I create a new empty project and add a TextBox - Browse for Folder control (or others too);
Code: Select all
ERROR: Split-Path : Cannot bind argument to parameter 'Path' because it is null.
Globals.ps1 (23, 14): ERROR: At Line: 23 char: 14
ERROR: + Split-Path $hostinvocation.MyCommand.path
ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: + CategoryInfo : InvalidData: (:) [Split-Path], ParameterBindingValidationException
ERROR: + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCommand
ERROR:
>> Script Ended
To reproduce this error (I can repeatedly reproduce it), do the following;
1. Create new multi form project
2. Add TextBox - Browse for Folder control
3. press f5 to run
4. click the ellipsis to browse for a folder
5. form hangs and I have to hard exit by repeatedly pressing red x to close the form then it returns an error that its not responding and if I keep clicking red X, it gives external script driver is not responding error, where I can click wait or close the program.
Am I missing something obvious in the creation of this control?
When I replace #2 above with TextBox - Browse for File, it works as expected with no error.