I have a WinRT app built with VS2013 using C#. It uses SQLite so it needs the **sqlite3.dll** included in the project to be in the output directory. I included that DLL in my project and set it to *always* copy to the output directory. The problem is VS2013 copies it to the Debug directory, but not the **AppX** directory underneath **Debug**, which appears to be the WinRT output directory. Because of the the app fails because it can't find sqlite3.dll, which is up in the parent **Debug** directory instead of the **AppX** directory.

For now I'm just hand-copying the DLL into the **AppX** directory. What's the best way to fix this problem so that the DLL is copied to the correct directory?