Closed AndrewPetz closed 3 years ago
System.Numerics.Vectors is missing. That shouldn't happen
/cc @crutkas @enricogior
I just tried uninstalling and reinstalling (probably should have done that earlier haha) and I'm getting the same error message.
my hunch on #7850 isn't right which was unsigned since that is a signed file (while old sig, still signed).
@andrewpetz can you take a screenshot of the files in. Should be 17 files and 34 items total C:\Program Files\PowerToys\modules\FancyZones
Also what malware / virus protection are you running?
Here is a pic of my folder
@crutkas Here's the screenshot:
I'm running the default Windows Security, no additional antivirus other than the occasional manual Malwarebytes scan.
now that is weird, the file is there.
@AndrewPetz Can you run this command in PowerShell and paste the output?
Get-FileHash 'C:\Program Files\PowerToys\modules\FancyZones\System.Numerics.Vectors.dll'
here was mine: Algorithm Hash Path
SHA256 1D3EF8698281E7CF7371D1554AFEF5872B39F96C26DA772210A33DA041BA1183
@crutkas Here you go:
SHA256 1D3EF8698281E7CF7371D1554AFEF5872B39F96C26DA772210A33DA041BA1183
Betting you're on .net framework 4.8 based on your OS version.
honestly a bit unsure why. Happens every time? can you try to just run FancyZoneEditor.exe straight? it will error but would be interesting what happens
Yes I do have .NET Framework 4.8 installed, and yeah it does happen every time.
Yep that's all that happened.
Here is the interesting thing, via direct, it works. Via the setting app it doesn't
Can you see if it launches if PT isn't running as admin?
Does it work via the hot key?
Trying to see maybe it is a launch permutation
@crutkas I just double-checked and I get the same result with and without running as admin, and both trying to launch it from the app and using the hotkey.
Also, I updated my Windows 10 last night and am now on build 19042.630. No change in what's happening with PowerToys but thought I'd let you know.
@AndrewPetz
can you post the properties Details tab of System.Numerics.Vectors.dll
?
Also, try moving the dll to the desktop and then open again the FZ editor using the shortcut or from the Settings page, are you getting the same error or a different one?
@enricogior sure. Here's the details tab:
When I moved System.Numerics.Vectors.dll
to the desktop and tried opening the FanzyZones editor again I got a different message:
After moving it back into the FancyZones folder, I got the same message I was getting before.
Both are exactly the same!
@AndrewPetz
thanks.
Now I'm wondering if it's another DLL that is trying to load System.Numerics.Vectors.dll
while expecting a different version.
@AndrewPetz is this still happening with 0.27?
@enricogior Thanks for checking back with me!
I updated to 0.27 and I'm still getting the same error, but there are some differences. I'm able to open the editor, but when I do, I get two error messages before it opens:
I'm able to select pre-made layouts to use, but get another error when I try to save a custom layout:
Here are the contents of that file:
So it looks like I'm now able to open the editor, but it's failing because it's unable to find System.Numerics.Vectors.
Let me know if you need any more details!
@AndrewPetz is it acceptable for you to install a private unsigned build? If it is, I will send you an updated version of the editor to test it.
@enricogior I'd be ok with that!
@AndrewPetz this is a build based on the current master branch that is work in progress for the 0.29 release, so it contains all the feature of 0.27 + some stuff that may be unstable. The version number is 0.0.1 to distinguish it from stable releases. Also it doesn't auto update when a new official build is released. Let me know if this solves the FZ Editor bug. Thanks.
@enricogior That worked! I was able to open the editor, create a couple custom layouts, and use them.
@AndrewPetz great, thank you for testing it. The new code will be released at the end of December, we'll close this issue at that time and notify here when the new version is available.
@enricogior do we have a parent issue for this fix or are we deeming the the work in progress item for 0.29?
@crutkas this was fixed by https://github.com/microsoft/PowerToys/pull/8122
Fixed with 0.29, released today. https://github.com/microsoft/PowerToys/releases/tag/v0.29.0
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
Potentially important note: I just purchased an LG 34GP83A-B ultrawide monitor, and this only started after I set it up with my PC.
✔️ Expected result
The FancyZones editor opens
❌ Actual result
I get an error message:
Error parsing device info data.: Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
📷 Screenshots