NinFanBoyFTW Posted September 25, 2017 Posted September 25, 2017 (edited) I decided to make a quick video and guide on how to compile PKHeX since most of the guides or "tutorials" I see out there are either outdated or way too complicted for the average user that just wants to quickly get the latest version of PKHeX. I know when I first started to get into the compiled versions of PKHeX, I had so much trouble getting things to work. Ill also include a video I just made explaining it too. 1. Go and download Microsoft Visual Studio Community 2017 Here: https://www.visualstudio.com/downloads/ 2. Install and make sure Microsoft VS opens properly (you may need the latest .NET installed) 3. go to https://github.com/kwsch/PKHeX and download the latest master 4. Unzip the "PKHeX-master" folder from the zip you just downloaded and open "PKHeX.sln" 5. click on "Build" and then "Build Solution" 6. Make Sure it Says that 0 Failed. If any Files Fail to Build I Would Just Retry Step 5 7. Go back to the "PKHeX-master" Folder from Earlier and Enter (PKHeX.WinForms>>bin>>Debug) If Everything Worked you Should see All of the PKHeX Files in this Folder. (You Only Need the PKHeX Program (the one with the PKHeX Logo) and the PKHeX.Core.dll File. The Rest of the "PKHeX-master Folder Can be Deleted. Congrats! You Just Learned How to Compile PKHeX. If You Need Any More Clarification Just Check Out My Video Tutorial Above. View full tutorial Edited September 25, 2017 by NinFanBoyFTW 3
ViolentDarkBrown Posted December 13, 2018 Posted December 13, 2018 I am having trouble compiling PKHeX with Visual Studio following this guide. It tells me it couldn't process the request due to the mark of the web. Is there anyway around this or an alternative to Visual Studios? Please I would be grateful for the help.
Kaphotics Posted December 13, 2018 Posted December 13, 2018 1 hour ago, ViolentDarkBrown said: I am having trouble compiling PKHeX with Visual Studio following this guide. It tells me it couldn't process the request due to the mark of the web. Is there anyway around this or an alternative to Visual Studios? Please I would be grateful for the help. Before unzipping, right click the zip and properties -> unblock. 1
explosivo Posted January 15, 2019 Posted January 15, 2019 (edited) thks Edited January 15, 2019 by explosivo atualizing
AlphaFefol Posted April 4, 2019 Posted April 4, 2019 I keep getting the following error, how do I fix this? The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.1.
Kaphotics Posted April 4, 2019 Posted April 4, 2019 53 minutes ago, AlphaFefol said: I keep getting the following error, how do I fix this? The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. Install the .NET Core sdk that it requires.
AlphaFefol Posted April 5, 2019 Posted April 5, 2019 (edited) 19 hours ago, Kaphotics said: Install the .NET Core sdk that it requires. That didn't work though, am I supposed to somehow select the SDK in visual studio? Edited April 5, 2019 by AlphaFefol SDK*
siquan Posted January 10, 2020 Posted January 10, 2020 for some reason there is no build option in the upper left bar. i even useed crtl shift b. to build solution but no luck
Awacka Posted March 13, 2020 Posted March 13, 2020 Hi, It seems this is outdated, in my (PKHeX.WinForms>>bin>>Debug) folder there are 2 options. Do we use net46 or netcoreapp3.0 found in the debug folder?
BlackShark Posted March 13, 2020 Posted March 13, 2020 1 hour ago, Awacka said: Hi, It seems this is outdated, in my (PKHeX.WinForms>>bin>>Debug) folder there are 2 options. Do we use net46 or netcoreapp3.0 found in the debug folder? It doesn't really matter. The net64 build requires the .NET Framework runtime and comes as a single executable that doesn't require any DLL files, while the netcoreapp3.0 build reqires the .NET Core runtime and needs some DLL files, as you can see if you compare both directories. The functionality of both builds is identical. 1
ShinyCharm Posted March 21, 2020 Posted March 21, 2020 Hello! I was following the video guide but I keep getting this error in Visual Studios. What am I missing that I need to download to fix this error? I included the .NET programs I currently have installed. Thank you for the help!
BigPapiBrian Posted April 21, 2020 Posted April 21, 2020 Hey... In VS 2019, I don't see "Build." Do you mind clarifying where it's located?
BlackShark Posted April 21, 2020 Posted April 21, 2020 3 hours ago, BigPapiBrian said: Hey... In VS 2019, I don't see "Build." Do you mind clarifying where it's located? The Build menu in the 2019 version is still there where it has been in the 2017 version, as shown in the picture of step 5 in the first post. If for whatever reason the menu is not there, you could as well right click the solution in the Solution Explorer on the right and build it from there. Or even easier, just press F6.
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 19 hours ago, BlackShark said: The Build menu in the 2019 version is still there where it has been in the 2017 version, as shown in the picture of step 5 in the first post. If for whatever reason the menu is not there, you could as well right click the solution in the Solution Explorer on the right and build it from there. Or even easier, just press F6. Thanks for your help!
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) So I just got this message. Any suggestions? Edit: I closed this message out, and I saw under Solution Explorer that I had 0 of 4 projects... Edited April 22, 2020 by BigPapiBrian
BlackShark Posted April 22, 2020 Posted April 22, 2020 @BigPapiBrian Looks like you don'thave .NET desktop development installed in VS? Open Visual Studio Installer, choose Modify on your VS 2019 installation and check if you have the following installed.
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) 39 minutes ago, BlackShark said: @BigPapiBrian Looks like you don'thave .NET desktop development installed in VS? Open Visual Studio Installer, choose Modify on your VS 2019 installation and check if you have the following installed. Nope, I did not. Installing now! Edited April 22, 2020 by BigPapiBrian
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) @BlackShark I installed it, but it still says 0/4 projects. Edited April 22, 2020 by BigPapiBrian
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) I got it; don't worry abt it. Edited April 22, 2020 by BigPapiBrian
BlackShark Posted April 22, 2020 Posted April 22, 2020 11 minutes ago, BigPapiBrian said: I got it; don't worry abt it. Great that you got it working!
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 3 minutes ago, BlackShark said: Great that you got it working! @BlackShark Last question, then I'll leave u alone. Do u mind telling me what files I need for the net46 version? I looked at the tutorial, but I have multiple Core.dll files. Thank you so much for all of your help!
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) Here's an ss of the folder jic u needed it Edited April 22, 2020 by BigPapiBrian
BlackShark Posted April 22, 2020 Posted April 22, 2020 Every file in the net46 folder that is not a .pdb or .config file is needed. In the menu bar at the top of VS there's a dropdown where you can change the project type from Debug to Release. If you than rebuild the solution you will only get only the exe that doesn't need any dlls (you still get the pdbs and configs, but those can be deleted).
BigPapiBrian Posted April 22, 2020 Posted April 22, 2020 (edited) @BlackShark So use the same thing I used before to go into VS, change project to Release, and hit build solution? Also, where do I change the project to release in VS? Edited April 22, 2020 by BigPapiBrian
Recommended Posts