The reactions of 1,2- and 1,3-hydroxyalkyl azides and aldehydes in the presence of Lewis acid result in the one-step construction of oxazolines and dihydrooxazines, respectively. The reaction was adapted to parallel synthesis using a polymer-bound phosphine to scavenge excess hydroxyalkyl azide. Thus, a 60-member library of various disubstituted oxazolines and di- and trisubstituted dihydrooxazines was generated.