CinderLocalizer is a small tool especially for managing VS include / lib dirs and updating Cinder locations across users/computers in Visual Studio projects.

How to use

1. You need to install Python first: http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi

2. Edit cinder_path in line 3 of CinderLocalizer.py

3. Copy it to a folder of your project or at your path and just run it (double-click if Python is installed)

It will look for .vcxproj files in sub-folders, then it'll go backwards till it finds a file called CinderLocalizer.txt and it'll update the .vcxproj files according to what's written in CinderLocalizer.txt

A sample CinderLocalizer.txt is in my IntelCam block:

include_rel: PCSDK\include
include_rel: PCSDK\sample\common\include
include_rel: PCSDK\sample\common\res
include_rel: src

An other example for CinderLocalizer.txt is the OpenCV block:

include_rel: include
include_abs: ..\include

If you just want to update Cinder directories then just leave an empty CinderLocalizer.txt in the project root.

The possible options at a start of a line:

  • include_abs
  • include_rel
  • lib_abs
  • lib_rel


I've been using this program for quite some time now and so far it's been reliable, and most importantly it backs up your .vcxproj files. BUT at the moment it still has some parsing errors on some .vcxproj files, as I'm just using regex matching, not an xml parser.

So please always check if your project works and if not restore from the backup file. Also, since it parses all project files in all subdirectories recursively, I'd recommend you to only run it on a separated folder first, to avoid corrupting any of your other projects.

I'll change it to use full xml parsing and then this bug should be fixed. In the future I might extend it with a GUI.

Feel free to contribute to the project.


CinderLocaliser is licensed under MIT license.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.