Skip to content

The process cannot access the file because it is being used by another process. The file is in use. Please close the file before continuing. #114

@urjapatel

Description

@urjapatel

I have referred Metrologging Sample Code from this link - https://www.intertech.com/Blog/building-a-universal-windows-platform-uwp-application-part-4-logging-w-metrolog/

My Metrolog Code lies in different project of type UniversalWindows ClassLibrary, and then I add this project as reference in my UWP Application, and when I write Exceptions in Log file it throws below mentioned Exception :

Exception thrown: 'System.IO.FileLoadException' in System.Private.CoreLib.dll
WinRT information: The file is in use. Please close the file before continuing.
The process cannot access the file because it is being used by another process.

The file is in use. Please close the file before continuing.

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