novotnyllc / MetroLog

A lightweight logging system designed specifically for Windows Store and Windows Phone 8 apps.
MIT License
146 stars 83 forks source link

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

Open urjapatel opened 5 years ago

urjapatel commented 5 years ago

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.

urjapatel commented 5 years ago

@onovotny Can I please get an update on this issue? As I have been stuck on this issue for months now, Due to its lack of your support on reported issues I have use some other Logger.