Skip to content

CodeGenerator throws a bad error when StablePackageVersion isn't set #4425

Description

@eerhardt

With the addition of #4391, we added two new string properties to CodeGeneratorSettings:

  • StablePackageVersion
  • UnstablePackageVersion

These properties are required to be set, if you don't code gen fails. But even worse, it fails in a way that isn't immediately obvious to what you did wrong.

We should make these properties required when creating a CodeGeneratorSettings object. That way callers of CodeGen know they need to set it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:2Work that is important, but not critical for the releasearea-AutoMLAutomated machine learning, Model Builder, and ML.NET CLI

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions