Hello @Shekhar Gupta,
Welcome to Microsoft Q&A forum.
Did you navigate to the directory that mentioned in the error message => C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\build
and confirm that the vcvars64.bat file does exist?
If it doesn’t exist, please check if you have installed corresponding workload and components. For example, the vcvars64.bar file was there after I installed the "Desktop development with C++" workload from VS Installer > Modify > Workloads.
More specifically, you can directly install "MSVC v142 – VS 2019 C++ x64/x86 build tools (Latest)" component from VS Installer > Modify > Individual components.
Please feel free to let us know the results.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.