Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
soygul opened this issue Nov 5, 2015 · 4 comments

Comments

@soygul
Copy link
Owner

soygul commented Nov 5, 2015

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

@soygul
Copy link
Owner Author

soygul commented Nov 18, 2015

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

@asiergonzalezgorordo
Copy link

asiergonzalezgorordo commented Aug 8, 2018

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

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

@soygul
Copy link
Owner Author

soygul commented Aug 8, 2018

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
Copy link

I didn't realised on that.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants