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

Cannot read properties of null (reading 'command') #370

Open
jumaremo opened this issue Aug 25, 2022 · 3 comments
Open

Cannot read properties of null (reading 'command') #370

jumaremo opened this issue Aug 25, 2022 · 3 comments

Comments

@jumaremo
Copy link

Good afternoon. In fact, in version 1.70.2 the extension stops working. If I install an older version of VS Code like 1.67.1 it works. Please help us with a quick solution to continue recommending this excellent extension available in VSCode. Thanks and stay tuned
Error  Net Core Test Explorer
.

https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/368

@TomasEkeli
Copy link

TomasEkeli commented Aug 26, 2022

this is the issue #368

there is a pull-request for this #369

workaround: change the tree view to "flat", or use the pre-release with the fix from @d-nery that i put on https://github.com/TomasEkeli/vscode-dotnet-test-explorer/releases/tag/0.7.8-tomas-preview-1

@olfek
Copy link

olfek commented Sep 13, 2022

workaround: change the tree view to "flat"

for anyone that doesn't know what this means

update settings.json with "dotnet-test-explorer.treeMode": "flat"

@vo-thaison
Copy link

vo-thaison commented Sep 21, 2023

Well, since this issue is still open, here is my fix :

  • Close off Vs Code.
  • Open Task manager to kill the VS Code process if you see it.
  • Delete the bin and obj folders of the test project. This is only possible if you completely closed/killed Vs Code instance
  • Reopen the project in Vs Code and cross your fingers.

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

4 participants