kwsch / PKHeX.Mobile

Pokémon save editor for Android and iOS!
Other
713 stars 358 forks source link

Can't build PKHex with Visual Studio for Mac #25

Closed jkashuba07 closed 3 years ago

jkashuba07 commented 3 years ago

Hi,

Every time I try to build PKHex.IOS I always get 5 errors and I am not sure why. I made sure all my Nuget packages were up to date after downloading a fresh copy of the code. After that I clean the solution and then rebuild solution.

I get this all the time.

Screen Shot 2021-01-20 at 11 43 07 AM

Just a disclaimer. I am a complete noob. I really don't much of anything passed, clean, rebuild, deploy

jkashuba07 commented 3 years ago

Maybe this is a better screenshot

image

kwsch commented 3 years ago

The NuGet package reference should be an older version of PKHeX.Core, as recent changes to the PKHeX library have changed some property names and method locations.

If you really wanted the latest core, you'd have to update the above errors to point to the correct location.

MysteryGift Format is now Generation, AltForm is now Form, and FormConverter is now FormInfo

jkashuba07 commented 3 years ago

Thank you for the explanation. Is there detail on replacing it with the core that I have now? I assume the core needed is in the code somewhere that I downloaded?

kwsch commented 3 years ago

The csproj states which nuget package it wants.

https://github.com/kwsch/PKHeX.Mobile/blob/b0a74ca21c7f9435222ca3c55158a98e91a2ec5d/PKHeX.Drawing/PKHeX.Drawing.csproj#L6946

jkashuba07 commented 3 years ago

Thank you very much for the help. I started fresh and verified the core and all. When I do the process now, I get this at the build stage. I am not sure if it means anything, as it seems to have just built it anyways.

image

kwsch commented 3 years ago

The program compiles fine without alterations; if you change one project's package requirements, you should change then all.

jkashuba07 commented 3 years ago

@kwsch Just wanted to thank you. You are right, I attempted on my PC, everything goes as planned. For some reason starting fresh on the mac just comes back with warnings or errors. I'll stick to PC

I truly appreciate everything you do!