cant debug anything on a newly created form

Issue #156 resolved
Cole Johnson created an issue

I’m trying to evaluate poshtools form creator capabilities compared to powershell studio
When debugging or running a project powershell form with nothing added to the form, visual studio stops and informs me that visual studio may need to be repaired if this issue has been recurring.

Previously I had tried to add a simple label from the toolbox to the form but visual studio was complaining that it could not find system.drawing.point.

I did not see this when trying to manually add it as a reference, I only saw system.drawing in my available references.

I have signed up for a trial version, downloaded .net core and .NET 4.6.2
visual studio 2019 v. 16.2

posh tools 4.8.2

posh tools version
PS C:\Users\cole> $psversiontable

Name Value


PSVersion 6.2.0
PSEdition Core
GitCommitId 6.2.0
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Comments (1)

  1. Adam Driscoll

    You need to make sure to install the .NET Desktop Development workload in VIsual Studio. The next version of PoshTools will check for this.

  2. Log in to comment