-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reports profiles don’t output to the correct Desktop folder if OneDrive is in use #43
Comments
And what would that directory change be? I can fix it if I know, but I don't have a Windows PC. |
To be compatible with different versions of operating systems, it is recommended to grab the directory location from the registry. Windows 11’s OneDrive changes the original desktop directory https://learn.microsoft.com/en-us/dotnet/api/system.environment.getfolderpath?view=net-9.0 |
Yeah, I’m not going to look into how to grab this from the registry, nor am I going to support OneDrive in any way. If someone else wants to tackle it: pull requests welcome. Potentially also one that changes the default output folder to something else instead of the Desktop. |
In the meantime, if you need the reports to work, you can just create |
Yeah, that's how I handle it too |
@YenShihHung I feel like I should elaborate: Just because I personally am not going to fix it, I would still consider this a bug. So I’ll keep it open for people that have the same problem and/or want to contribute a fix. |
Heh, just realized that I actually cannot really fix this; it’s part of the profiles and not the plugin, and I don’t have a Windows machine to run VA on :) |
Because of the Windows 11 system directory change, the original output path is no longer applicable.
The text was updated successfully, but these errors were encountered: