Cannot read properties of null (reading 'command')
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
.
https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/368
this is the issue https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/368
there is a pull-request for this https://github.com/formulahendry/vscode-dotnet-test-explorer/pull/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
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"
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.