Manipulate Visual Studio project and solution files from Python.
python setup.py install
python setup.py test
or
pytest
Getting project files from a solution:
import vcproj.solution
solution = vcproj.solution.parse('path/to/my/solution.sln')
for project_file in solution.project_files():
print(project_file)
Getting source and include files from a project_file:
import vcproj.project
project = vcproj.project.parse('path/to/my/project.vcxproj')
for source_file in project.source_files():
print(source_file)
for include_file in project.include_files():
print(include_file)