https://issues.dlang.org/show_bug.cgi?id=14139 --- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> --- The VS solution included with DMD has a "Release" target, any reason you're not using that? --