Correct, the generation of the MSI files should be done against Release. If you want to build the MSI with debug then u just need to change the sln config to be debug not this file.