Reaction of 2-ethyl-1-bromohexane (I) with potassium cyanide afforded nitrile (II). Claisen condensation of ethyl propionate with nitrile (II) in the presence of LDA furnished keto nitrile (III), which was further cyclized to the pyrazole (IV) upon treatment with hydrazine. Treatment of 2',4'-dichloroacetophenone (V) with dimethylformamide dimethylacetal gave rise to the enamino ketone (VI). The title pyrazolopyrimidine was then obtained by condensation between aminopyrazole (IV) and enamino ketone (VI) in refluxing HOAc.