soygul / NBug

Automated bug reporting library for .NET
http://soygul.com/nbug
MIT License
191 stars 78 forks source link

Settings.WriteLogToDisk defaults to true which might raise UAC exceptions if NBug.dll resides in Program Files #59

Open soygul opened 9 years ago

soygul commented 9 years ago

Problem described in depth here: http://stackoverflow.com/questions/33088807/seems-to-be-a-issue-with-dll-permissions-c-sharp

soygul commented 9 years ago

Now it's false by default however this makes debugging harder. We can consider enabling this when ReleaseMode == false;

asiergonzalezgorordo commented 6 years ago

I'm still having same problem, any update on this?

PS: Ignore it, I had WriteLogToDisk to true... now it's working.

soygul commented 6 years ago

Logging is disabled by default in master so shouldn't be a problem. Alternatively you can adjust directory permissions or handle log events in your app and write them to your app logs: https://github.com/soygul/NBug/blob/master/NBug/Settings.cs#L166

asiergonzalezgorordo commented 6 years ago

I didn't realised on that.

Thank you very much!