I m trying to build a kernal mode driver using Visual studio 2012 ultimate edittion . i want to place driver binary generated from each configuration [eg: WIn7 Realease | Win32 , Vista Release | win32 etc] in different folder with the test sign enabled. So i changed the value in Linker->General->OutputFile and hard coded some folder path. then i tried to build. But i got a error saying
"SIGNTASK : SignTool error : File not found: obj\x64\driver.sys"
when i check the VS variable $(TargetPath) was set to obj\x64\driver.sys. i think Sign task takes the value from $(TargetPath) Value.
How to change the $(TargetPath) value ? or what can i do in such situations ?