diff --git a/templates/vsprojects/vcxproj_defs.include b/templates/vsprojects/vcxproj_defs.include
index 10d23f55a34..23fe2e01806 100644
--- a/templates/vsprojects/vcxproj_defs.include
+++ b/templates/vsprojects/vcxproj_defs.include
@@ -134,7 +134,7 @@ ${gen_package_props(packages, repo_root)}\
% if package.get('linkage', None) is not None:
${package.linkage}
% endif
- Debug
+ ${config}
% endif
% endfor