Access project title and version from C++


#1

Is it possible to access the project title and version (set in the project.json file) from code?


#2

Unfortunately not, we don’t have a utility function for that. The project.json file is only used by our build system to set up the project and figure out dependencies. You can however load the .json file manually:

		std::string buffer;
		utility::readFileToString(path, buffer, errorState);
		rapidjson::Document document;
		rapidjson::ParseResult parse_result = document.Parse(buffer.c_str());

And extract info from there.