* Write VC Projects
*/
protected void writeVCProjectFile() throws Exception {
Document doc = createDOMDocumentForInterfaceImplementation();
CodeGenConfiguration codegen = this.codeGenConfiguration;
Element rootElement = doc.getDocumentElement();
String outputLocation = codegen.getOutputLocation().getPath();
String targetSourceLocation = codegen.getSourceLocation();
addAttribute(doc, "targetSourceLocation",targetSourceLocation, rootElement);
if(codegen.isSetoutputSourceLocation() && !outputLocation.equals(".") && !outputLocation.equals("")){
if(!codegen.isFlattenFiles()){
addAttribute(doc,"option","1",rootElement);
} else{
addAttribute(doc,"option","0",rootElement);
}
addAttribute(doc,"outputlocation",outputLocation,rootElement);