Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The property '<property>' cannot be found on this object. #48

Open
shaun-borlinghaus opened this issue Jul 21, 2022 · 2 comments
Open

Comments

@shaun-borlinghaus
Copy link

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

@shaun-borlinghaus
Copy link
Author

To add, this does not affect any forms i already have added to the project. I can update label text on them without issue.

@DataTraveler1
Copy link

@adamdriscoll - Could you please add the appropriate tags to this issue?

@adamdriscoll adamdriscoll transferred this issue from ironmansoftware/powershell-universal Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants