// we always want an EXE for debugging
task.setOuttype(new OutputTypeEnum());
// execute
try {
task.execute();
getLog().info("Wrote project file: " + filename + ".vcproj");
} catch (BuildException e) {
throw new MojoExecutionException("NAR: Compile failed", e);
}
}