Closed WRMSRwasTaken closed 2 years ago
Before we move forward with that (we likely will want to) are you able to reliably replicate this issue when the additional catch isn't included?
I'd like to report this issue to the library's repo if we can with any information that you can provide that may help to narrow down the issue in our issue report.
This error appears every time I am starting the project (doesn't matter if it's debug in VS or actually a release binary) on my machine. It's even persisting across reboots.
I haven't tried doing any updates to Visual Studio (using 2019 16.11.13) or .NET framework (building it with 4.7.2) so far. I'm on Win 10 21H2.
Happy to provide any additional needed information to get this sorted out.
Sorry for not getting back to you sooner, @WRMSRwasTaken. I would certainly appreciate if you PR'd those changes. 👍 Otherwise, I can put them in if you don't have the time to.
I'll keep the issue open to help ensure I reach out to the library's owner about the issue.
Fixed in #711.
Thank you!
https://github.com/blish-hud/Blish-HUD/blob/46a19061bcfe3569d2538ff67b20a543e82b62cb/Blish%20HUD/GameServices/GameIntegration/Gw2InstanceIntegration.cs#L197 is failing with the error:
The error has been translated, although my Windows and Visual Studio are set to english. It seems, that there is something in my env vars, Blish HUD or .NET in general does not like. Adding
as new catch block to the try block around
var envs = newProcess.ReadEnvironmentVariables();
seems to be a workaround on my machine, as Blish HUD seems to run fine with this.Should I PR this "fix"?