I have a Visual Studio 2008 solution with a Smart Device CAB project. I am working on automating the release process. I am using devenv to build the inf file that I use to build the CAB like this:
C:\programming\acs_reader2>"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv" ACSreader2\ACSreader2Setup\ACSreader2Setup.vddproj /Rebuild Release /SafeMode
It does build the inf file, but it uses the wrong configuration (Test instead of Release) for some of the dependencies. When I build from within VS, this does not happen. Am I doing something wrong or is this a bug? If it is a bug is there a way to work around this? I am desperately seeking to avoid having to manually maintain the inf file.
I have also tried this other format which matches up more closely with the example from the devenv rebuild documentation where you specify both the solution name and configuration and the project name and configuration. The same problem occurs.