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

Doesn't seem to work on Windows 11 #24

Open
InfectedAnimal opened this issue Oct 24, 2022 · 8 comments
Open

Doesn't seem to work on Windows 11 #24

InfectedAnimal opened this issue Oct 24, 2022 · 8 comments

Comments

@InfectedAnimal
Copy link

I've been trying to use this program for the past day but each time I do it does the cursor loading animation and then promptly does nothing, not even giving an error or warning message, please fix this

@Sprixitite
Copy link
Contributor

Hi! I'm a linux user, but this problem sounds interesting, if you could give some debug info (I believe the console has been re-revealed on the newest commit) I would love to take a stab at this regardless. Thanks.

@ghost
Copy link

ghost commented Feb 10, 2023

I'm also on Windows 11 and can confirm it does not launch properly (I see the console window for a second or two and then it closes without warning), here is what the console spits out from the latest commit:

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at PD2ModelParser.Program.Main(String[] args)

@Sprixitite
Copy link
Contributor

Thanks for the message, as the notification reminded me I had set up a windows 11 VM to work on this before deleting it, although looking at your error it seems to be a simple fix to the PD2ModelParser.csproj file

Going to test if my changes regress anything to do with the non-windows pre-build events this project has and if they don't will submit a pr to hopefully resolve this!

Sprixitite added a commit to Sprixitite/payday2-model-tool that referenced this issue Feb 10, 2023
Should fix issues with the `System.Windows.Forms` DLL not loading on Windows 11 according to issue kythyria#24, this doesn't seem to revert linux functionality (in my limited testing of "does it compile?")
@ghost
Copy link

ghost commented Feb 11, 2023

still getting the error with the new ver D:

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at PD2ModelParser.Program.Main(String[] args)

@InfectedAnimal
Copy link
Author

still getting the error with the new ver D:


Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)

File name: 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

   at PD2ModelParser.Program.Main(String[] args)

Can confirm this here too, tried the patched build recently and it'd still close each time very briefly displaying this error
image

@Sprixitite
Copy link
Contributor

See my PR for what is likely the same issue everyone in this thread is seeing

If it doesn't resolve the issue then please send further details, but I'd imagine what most of you are seeing is simply a missing .net 6 runtime

Something additional to note: you likely haven't even tried the slightly patched version, because the PR has yet to be accepted and added to the release page

@kythyria
Copy link
Owner

Y'all try the newest build now I've actually merged that PR.

@InfectedAnimal
Copy link
Author

See my PR for what is likely the same issue everyone in this thread is seeing

If it doesn't resolve the issue then please send further details, but I'd imagine what most of you are seeing is simply a missing .net 6 runtime

Something additional to note: you likely haven't even tried the slightly patched version, because the PR has yet to be accepted and added to the release page

Yea I just downloaded it and it finally works, was a bit confused on the lack of exe with it but I used the og one and it finally worked

Thank you so 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

3 participants