A three-storey building collapsed in Himachal Pradesh's Dharamshala amid heavy rainfall. No casualties have been reported.