bob project vs2019 creates invalid files
sschleic opened this issue · 2 comments
sschleic commented
With the current master bob project vs2019
generates invalid files.
Currently every file generated by bob starts with an empty line (.sln) or with an \ (.vcxproj). This causes error while opening the project with visual studio.
I investigated the code and found commit ea36ae4 is causing the problem.
Solution should be (VisualStudio.py, line45):
SOLUTION_PROJECT_TEMPLATE= r"""Project("{{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}}") = "{NAME}", "{NAME}\\{NAME}.vcxproj", "{{{GUID}}}"
VisualStudio.py, line41:
PROJECT_TEMPLATE = r"""<?xml version="1.0" encoding="utf-8"?>
similar for all other template definitions.