Skip to content

[Request] BackgroundWorker main method supported translations. #151

@Telavian

Description

@Telavian

If I have a Console.WriteLine or Logger.LogInformation in the BackgroundWorker.Main method then the build will always fail.

For instance, this will work

    [BackgroundWorkerMain]
    public override void Main()
    {
        //Logger.LogInformation("Initializing extension");
        WebExtensions.Runtime.OnInstalled.AddListener(OnInstalled);              
    } 

This will fail

    [BackgroundWorkerMain]
    public override void Main()
    {
        Logger.LogInformation("Initializing extension");
        WebExtensions.Runtime.OnInstalled.AddListener(OnInstalled);              
    } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions