so, i created a solution folder and ran the commands given on powerapps docs:
https://docs.microsoft.com/en-us/learn/modules/build-power-app-component/2-package-code-component
But when i run "msbuild", it gets stuck at the end and no files are generated inside the /bin/Debug folder inside solutions folder. Nothing so far posted or internet here seems to work for my case. I installed the 2019 build tools for visual studio, and gave the path inside the PATH enviorment variable in windows. Tried to run from Visual studio 2017 and also 2019 but everywhere it gets stuck.