- >> Running (CFS_Tool_New.psf) Script...
- >> Platform: V5 64Bit (STA) (Forced)
- ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3".
- CFS_Tool_New.Run.ps1 (13043, 2): ERROR: At Line: 13043 char: 2
- ERROR: + $button_RemoveSelectedSecgroupChanges.Font = [System.Drawing.Font ...
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodException
- ERROR: + FullyQualifiedErrorId : MethodCountCouldNotFindBest
- ERROR:
- ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3".
- …………
- ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3".
- CFS_Tool_New.Run.ps1 (16601, 2): ERROR: At Line: 16601 char: 2
- ERROR: + $radiobuttonCFSAdmin.Font = [System.Drawing.Font]::new('Microsoft ...
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodException
- ERROR: + FullyQualifiedErrorId : MethodCountCouldNotFindBest
- ERROR:
- ERROR: Multiple ambiguous overloads found for "new" and the argument count: "3".
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.175
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0
*** Please add details and screenshots as needed below. ***
Same problem as in: viewtopic.php?p=77457#p77457
Hi
I have a problem since last update:
"Multiple ambiguous overloads found for "new" and the argument count"
Yesterday I updated using the Update manager, since then when I run my project I’ll get a bunch of errors (one version earlier it was working flawlessly):
I belive this is the cause. If I check the „.run.ps1” it shows the lines in question:
- #
- # button_RemoveSelectedSecgroupChanges
- #
- $button_RemoveSelectedSecgroupChanges.Anchor = 'Top, Left, Right'
- $button_RemoveSelectedSecgroupChanges.BackColor = [System.Drawing.Color]::LightCoral
- $button_RemoveSelectedSecgroupChanges.Font = [System.Drawing.Font]::new('Microsoft Sans Serif', 8,25)
- ...
Br
Benedek