Skip to main content

A Microsoft Visual Studio solution and project generator pyackage.

Project description

build status Documentation Status Dependencies PyPI Version PyPI License Python 2 Compatible Python 3 Compatible

A Python package that automatically generates solutions and projects from python script.


Use pip:

pip install vsgen


There are two ways to use vsgen:

  1. Manipulate the vsgen classes directly with Python script and then generate the files using vsgen’s commands.
  2. Use the command line and supply a configuration file that contains the solution and project defintions and let vsgen automaticaly generate the files.


Documentation is available at


Use the issue tracker to file any suggestions, bugs or other issues.


1.0.0-dev (Unreleased)

  • TBD

0.3.3 (2018-05-30)

Bug Fixes:

  • Fixed writing project files relative to solution in solution files. Fixes #15.

Compatibility Notes:

  • Dropped Python 3.3 support. Fixes #16.

0.3.1 (2017-08-21)


  • Replaced raw file writer with jinja2 renderer.

0.3.0 (2017-03-18)


  • Modularize VSGen with setuptool’s entry points; Fixes #11.

Compatibility Notes:

  • A plugin architecture has been adopted starting with 0.3.0. The vsgen package is now a core module and any metadata and code used to generates specific projects should be placed in a plugin module.
  • The former Python Tools for Visual Studio functionality that was embedded in vsgen has been extracted to vsgen-ptvs

0.2.4 (2017-02-18)


  • Refactored the command line argument structure to expose more options to the command line; Fixes #10.
  • Adopted fnmatch pattern style for file and directory filter patterns, e.g .txt is now *.txt.

Bug Fixes:

  • Fixed auto command’s resolution of the current directory; Fixes #9.

0.2.3 (2016-06-24)


  • Added automatic project generation; Fixes #6.

0.2.2 (2016-05-29)

Bug Fixes:

  • Fixed mishandling of mkdir command; Fixes #4.

0.2.1 (2016-03-09)

Bug Fixes:

  • Updated main’s argument handling; Fixes #1.
  • Added missing import; Fixes #2.
  • Fixed misnamed PTVSInterpreter class variable; Fixes #3.

0.2.0 (2016-03-08)

  • Initial Release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vsgen, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size vsgen-0.3.3-py2.py3-none-any.whl (22.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size vsgen-0.3.3.tar.gz (41.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page