Errors while trying to build a VSA template - C#