# Texstudio + Biber + build folder

I used this tutorial to export my auxiliary files into a different directory.

Basically i just add `-aux-directory=build` in `Options -> Configure -> Commands` and added the `build` folder into `Options -> Configure -> Build -> Build Options -> Additional Search Paths -> Log`.

This succesfully generates all the auxilliary files in the build folder and it's also possible to generate the pdf.

Unfortunately biber has a problem with this setup:

Prozess gestartet: biber.exe "MyFile"

INFO - This is Biber 1.7

INFO - Logfile is 'MyFile.blg'

ERROR - Cannot find control file 'MyFile.bcf'! - did you pass the "backend=biber" option to BibLaTeX?

INFO - ERRORS: 1

I guess i have to specify the correct path for biber somewhere in Texstudio. Does anyone know where i have to update the path?

In this thread someone had similar problems. Also i'm not sure if the solution of this thread applies to my situation.

-
`biber --help` includes the following information: `--output_directory [directory]` Files (`.bbl` and `.blg`) are output to directory `directory` instead of the current directory. Input files are also looked for in `directory` before current directory. [My emphasis.] – cfr Jun 10 '14 at 22:52

1. Put a new Folder with `YourName` into the same directory as your main .tex file.
2. `Options -> Configure -> Commands -> PdfLaTeX` add `-aux-directory=YourName`. Result looks something like this: `pdflatex.exe -synctex=1 -interaction=nonstopmode -aux-directory= build %.tex`
3. `Options -> Configure -> Commands -> Biber` add `--output_directory YourName`. Result looks something like this: `biber.exe --output_directory YourName %` (careful: i think the space between the name and % is mandatory)
4. In `Options` bottom left corner activate the `additional options` checkbox. Add your folder to `Configure -> Build -> Additional Search Paths` with `.\YourName` (or complete path)
The `-aux-directory=DIR` option is specific to MiKTeX. I think you should mention that in your answer. In TeXlive there is only the `-output-directory=DIR` option. But it is still possible to achieve a separate output-directory for the `.pdf`-file as described in the commend to the question [tex.stackexchange.com/questions/96767/mactex-aux-directory-dir] but it involves using a hard link. – Wamseln May 10 '15 at 10:42