vsgen.solution module

This module provides the neccessary defintions to generate a Solution File.

class vsgen.solution.VSGSolution(**kwargs)[source]

Bases: vsgen.writer.VSGWritable, vsgen.writer.VSGJinjaRenderer

VSGSolution encapsulates the logic needed to create a .sln file.

Variables:
  • GUID (uuid) – The GUI of the solution; if not provided one is generated automatically.
  • FileName (str) – The absolute filename of the solution file; if not provided the value is “”
  • Name (str) – The display name of the solution; if not provide the value is “”.
  • Projects (list) – The list of VSGProject derived classes; if not provide the value is [].
write()[source]

Writes the .sln file to disk.