refactoring the vcxproj tool