Roblem with different windows versions

is there any problem in building applications in windows 10 which cause problems in other windows versions like windows 8.1, 7and xp.

when i tried installing an app built in windows 10 is not installing in windows 8.1.

pls find me a cure?