Skip to content

Can't rewrite file even with --overwrite option #22

@sunnamed434

Description

@sunnamed434

else if (Path.GetFullPath(outputPath) == fileInfo.FullName)
{
Log.Warning("Can't write to {OutputPath} without --overwrite flag", outputPath);
return;
}

There should be a check for --overwrite option.
How I use it:

assembly-publicizer somepath.dll --output somepath.dll --overwrite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions