Skip to content

CritterStackDefaults.GeneratedCodeOutputPath does not change output dir #2080

@mkalinski93

Description

@mkalinski93

When using the new CritterStackDefaults extension method on the IServiceProvider

builder.Services.CritterStackDefaults(profile =>
    {
        profile.GeneratedCodeOutputPath = "Test/ABC";
    });

Wolverine still takes on the AppContext.BaseDirectory and it cannot be overriden.

The regular configuration in the WolverineOptions can still be used as an alternative:

builder.UseWolverine(options =>
        {
            options.CodeGeneration.GeneratedCodeOutputPath = "Test/ABC";
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions