Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 772 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 772 Bytes

pyvcproj Build Status

Manipulate Visual Studio project and solution files from Python. Currently only tested with Visual Studio 2010.

Installing

setup.py install

Usage

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