I'm trying to build a VS2010 C++ project in VS2013 (to be precise, an example project from Steinberg Vst SDK) and get the following error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1235,5): error MSB3191: Unable to create directory "C:\Program Files (x86)\Common Files\VST3\Steinberg". Access to the path 'C:\Program Files (x86)\Common Files\VST3\Steinberg' is denied.
I haven't modified anything. I've tried to find an answer but the ones i found either are very vague, or doesn't apply to C++. From the error it's clear the problem is that i can't output to Program Files since it's read-only , so how do i change the output directory?
EDIT: I've modified the "Output directory" field in project's properties -> configuration properties -> general tab. However, the error stays the same.
EDIT2: SOLVED the problem. The linker output was set to Program Files.
Thanks in advance for answers.