Vixen
dd8b0a81
csharp
public record class BuildStepContext

What a build step is told about the build it is running in.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ Resolved values, not the settings object. The panel stays editable while a build runs, so a step handed PlayerBuildSettings would be a step reading a target the person changed after pressing the button — the same reason PlayerBuildRequest is a snapshot.

Fields and properties (5)

  • public string Target

    The platform, as Targets spells it.

  • public string Variant

    Which of doc 17's variants.

  • public string ProjectFile

    The .csproj that is the game.

  • public string Output

    Where the artefact goes, which for AfterBuild is where it is.

  • public TextWriter Log

    The build log, which in the editor is the Console panel's ring.

Methods (1)

  • public BuildStepContext(string Target, string Variant, string ProjectFile, string Output, TextWriter Log)

    What a build step is told about the build it is running in.

Used by (5)

  • BuildStepVixen.Editor.Assets
  • BuildStepContributionTestsVixen.Editor.App.Tests
  • BuildStepTestsVixen.Editor.Assets.Tests
  • BuildStepsVixen.Editor.Assets
  • ContentTasksVixen.Editor.App