Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.1.3
PowerShell Tools for Visual Studio 2022 Version 2022.7.0
If i create a new form (I tried multiple new forms) and just add a simple label, when i try and change any properties i get the following error below. I tried a simple $label1.text = "test" or $label1.visible = $false and this happens no matter what:
[ERROR] The property 'text' cannot be found on this object. Verify that the property
[ERROR] exists and can be set.
[ERROR] At C:\Users\Path\Visual Studio\Project -
[ERROR] Active\SB-Tools\FunStuff.ps1:1 char:1
[ERROR] + $label1.text = "test"
[ERROR] + ~~~~~~~
[ERROR] + CategoryInfo : InvalidOperation: (:) [], RuntimeException
[ERROR] + FullyQualifiedErrorId : PropertyNotFound
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.1.3 PowerShell Tools for Visual Studio 2022 Version 2022.7.0
If i create a new form (I tried multiple new forms) and just add a simple label, when i try and change any properties i get the following error below. I tried a simple $label1.text = "test" or $label1.visible = $false and this happens no matter what:
[ERROR] The property 'text' cannot be found on this object. Verify that the property [ERROR] exists and can be set. [ERROR] At C:\Users\Path\Visual Studio\Project - [ERROR] Active\SB-Tools\FunStuff.ps1:1 char:1 [ERROR] + $label1.text = "test" [ERROR] +
~~~~~~~ [ERROR] + CategoryInfo : InvalidOperation: (:) [], RuntimeException [ERROR] + FullyQualifiedErrorId : PropertyNotFound