Skip to content

Failure to delete screenshots after raid #116

Description

@RuiApostolo

I'm just starting using TarkovMonitor, so I might be missing something obvious, but after a test raid on the factory (scav, PVE mode), I got the following error:

Error deleting screenshot: Access to the path 'C:\Users\Rui Apostolo\Documents\Escape From Tarkov\Screenshots\2025-10-22[23-20]_-31.94, -1.16, 30.08_0.02843, 0.18186, -0.00526, 0.98290_13.12 (0).png' is denied.    at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.File.Delete(String path)
   at TarkovMonitor.MainBlazorUI.Delete_Screenshots(RaidInfoEventArgs e, MonitorMessage monMessage, MonitorMessageButton screenshotButton) in TarkovMonitor\MainBlazorUI.cs:line 205

The screenshot->position update during the raid worked fine otherwise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions