[draft] make some parts work with VisualStudio