Visual Studio complains with each compile about with
warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build.
I was checking the projects and changed Output Directory and Intermediate Directory but I still got the message for each project in my solution.
How can I fix this?
I found the answer - I was missing Environment variables. After adding them and rebooting the problem has gone.
How to fix it for Windows 7
- Be sure that the Intermediate and Output directory do not reside under the Temporary directory! If the problem still persists:
- Go to Environment Variables (Start->Computer->right click->Properties->Advanced system settings->Tab Advanced->Environment Variables)
- Add to User Variables Variable Name: TEMP, Variable value: %APPDATA%\Local\Temp
- Add to User Variables Variable Name: TMP, Variable value: %APPDATA%\Local\Temp
- Add to System Variables Variable Name: TEMP, Variable value: C:\Windows\Temp
- Add to System Variables Variable Name: TMP, Variable value: C:\Windows\Temp
- Reboot