The most recent MiKTeX update 21.6 resolves an issue involving the aux directory that seems to have changed the behavior of
-aux-directory=<filename> to place the
.synctex.gz files in the auxiliary folder rather than in the output directory (in this case the same location as the TeX file and PDF output since no
-output-directory is specified) as it did before the update. This is confusing because in the linked issue, it's explained that SyncTeX files are indeed output files, not auxiliary files.
It would not be a concern except that TeXstudio needs the
synctex.gz file in the same location as the TeX and PDF files for "go to source/pdf" to work (explained here). The command I'm running in TeXstudio 3.1.2 is
pdflatex.exe -synctex=1 -interaction=nonstopmode -aux-directory=C:\Users\matthew\math\auxtexfiles %.tex
on Windows 10. Is there a workaround to either tell TeXstudio to look in the auxiliary folder for the SyncTeX files or tell MiKTeX to place SyncTeX files with the TeX and PDF files as it did before the update?