fasetto-word icon indicating copy to clipboard operation
fasetto-word copied to clipboard

Can't Run

Open aqibbanday opened this issue 5 years ago • 4 comments

System.AggregateException: 'An error occurred while writing to logger(s). (The process cannot access the file 'D:\Documents\source\repos\fasetto-word\Source\Fasetto.Word.Web.Server\log.txt' because it is being used by another process.)'

aqibbanday avatar May 22 '19 03:05 aqibbanday

I also get the same error. Tried to follow through with a breakpoint on Startup.cs Line 182. Can't see the problem. I can write to the file no problem from VS. Running VS 2019 Preview 2

Tony5727 avatar Jun 19 '19 20:06 Tony5727

I managed to make it work like this: In Fasetto.Word solution open App.xaml.cs > line 56 > Comment out .AddFileLogger() in private async Task ApplicationSetupAsync() Don't know if it will crash the app at some point but at least it starts 😏

mrNo0b avatar Jul 01 '19 02:07 mrNo0b

I managed to make it work like this: In Fasetto.Word solution open App.xaml.cs > line 56 > Comment out .AddFileLogger() in private async Task ApplicationSetupAsync() Don't know if it will crash the app at some point but at least it starts 😏

At least it starts. Thanks

aqibbanday avatar Jul 08 '19 05:07 aqibbanday

I managed to make it work like this: In Fasetto.Word solution open App.xaml.cs > line 56 > Comment out .AddFileLogger() in private async Task ApplicationSetupAsync() Don't know if it will crash the app at some point but at least it starts 😏

yes, at least it starts 😏

hongjiapeng avatar Jan 10 '20 02:01 hongjiapeng