I downloaded a template for CV and one of the requirements was installation of fontspec.sty. Now when I compile the file the code file of fontspec.sty pops up in a new tab in TeXnicCenter and it points to errors in the file. Among which are
fatal fontspec error: "cannot use pdflatex"
It also shows that the .sty requires xetex or luatex to function which I have both installed. Please help.