Closed NickGerleman closed 3 years ago
if you uninstalled from the Windows add/remove programs UI in the Settings app then the script might be getting confused.
open an elevated cmd prompt, and run choco list -l
. If VS is still there you can remove the registration by running choco uninstall visualstudio2019community
Belief is that using choco
asymmetrically (to install but not to uninstall) may cause choco
to be confused. @rendomnet are you personally unblocked using the workaround above?
The script will fall back to checking whether VS is installed but it is trusting the choco registry if choco says it's installed. Ideally the script would handle that case.
@asklar guys its getting ridiculous. Under Mac all went without problems. But under Windows so many problems.
Yes visualstudio2019community
there I reinstalled it to run react-native-windows project. What should I do? Do you have uninstall script?
After uninstalling and reinstalling with choco
okay I found the issue. signintool was not in ENV PATH. after adding 'C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool' to enviroment PATH app started.
After uninstalling visual studio install script gives this error![image](https://user-images.githubusercontent.com/18900210/116770157-6bae4780-aa63-11eb-994d-786f1744808f.png)
Originally posted by @rendomnet in https://github.com/microsoft/react-native-windows/issues/7436#issuecomment-830511790