By the ferromagnetic resonance and magnetometry measurements in a broad temperature range, it is found that the 220-fiber textured Ni 51.4Mn28.3Ga20.3 (at. ) film of 100 nm thickness deposited onto NaCl(001) exhibits in the martensitic state an easy-plane magnetic anisotropy. This is in a drastic difference with the identical film of the same texture deposited onto Si(001) wafer showing out-of-plane oblique type of anisotropy [Golub, J. Appl. Phys. 105, 07A942 (2009)]. The results are discussed in terms of the different martensitic variant selections and stress-induced magnetic anisotropy contributions having opposite signs.