MrPowerScripts / reddit-karma-farming-bot

"Is karma really that important to you? Damn bro, you need a life" - YouTube Comment
https://mrpowerscripts.com
MIT License
296 stars 121 forks source link

I get a visual stduio error when i run it even tho installed all of the things that were required #170

Closed tman10001 closed 2 years ago

tman10001 commented 2 years ago

VS 2019 Build Tools not found Read windows installation guide https://github.com/MrPowerScripts/reddit-karma-farming-bot/blob/master/docs/3-windows.md

How do i fix this

MrPowerScripts commented 2 years ago

This is the line that generates that error message.

Test-Path -Path "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"

As you can see it's just checking to see if that folder exists, which is a horrific way to see if the build tools are installed. but it was quick and worked at the time. it may be that you installed them to a different location, or they weren't fully installed properly. I would try seeing where you installed them, and doing so to that location if you can. Or just remove that line of code from the powershell script and see if the bot runs.