-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Avalonia DevTools crash app on Windows on corporate laptops #15708
Comments
When i launch app via Ctrl+F5 - it works fine. |
Basically idea is to add support for corporate environments? |
For reference: #14069. |
I'm still unsure what the system configuration issue is though since the directory is supposed to exist on @drweb86's system. |
I am guessing OneDrive is involved somehow and there is some weird folder redirection happening. |
Directory is indeed exists. And yes, OneDrive create symbolic links to other directories. |
As the docs explain, Create a simple console app with this code and check if it works var dir = System.IO.Path.Combine(
Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "Screenshots");
Directory.CreateDirectory(dir); |
Hi. Bug stopped to reproduce since today. I don't know why. Probably Microsoft Defender was blocking it. I tried to delete screenshots folder and it still works. Also I tried to rename folder. First time - name remains the same, from second time - it gets changed. And anyway in this case it also works fine. Console app also works good. |
closing as not reproducible anymore. |
Describe the bug
Avalonia.Diagnostics.Conventions crashes on corporate notebooks. I don't understand the reason. It tries to create folder that is already there
C:\Users\SiarheiKuchuk\Pictures\Screenshots
and fails.To Reproduce
That's the first time i see it. It is not reproduced at home and at my own laptop.
Expected behavior
No error obviously, but also showing real error would be nice.
Avalonia version
11.0.10
OS
Windows
Additional context
NA
The text was updated successfully, but these errors were encountered: