xpnteam / xpnet

Develop X-Plane plugins in .NET.
MIT License
50 stars 15 forks source link

Plugin folder setup #5

Closed realsimgearinc closed 6 years ago

realsimgearinc commented 6 years ago

I tried building the logger example, can you confirm which file should be renamed to win.xpl? Please see attached image which is my current contents of the '64' folder.

Also, can you elaborate further on what "These and other microsoft DLL's that are required...."

image

jaurenq commented 6 years ago

Ah, good catch, looks like I've got a typo in this line in the instructions:

win.xpl <-- Rename XPNet.Native.xpl and place it here.

That should say XPNet.Native.dll, not XPNet.Native.xpl. I'll fix that when I get back to where I can.

Regarding the DLLs that should be copied over, you may have noted in the Building section of the README that I want to do some kind of scripting that will handle that for us, b/c it's certainly a pain right now. Work commitments keep me from being as helpful as I possibly could on this right now (can't get to the computer where I work on XPNet for a bit), but go read the answers to issue #1, it's got a picture of what a plugin folder looks like with the right extra DLLs copied over, and some discussion about where I found those DLLs on my computer so that I could copy them over.

realsimgearinc commented 6 years ago

Thanks, I got the plugin to load successfully by carefully copying the various Microsoft.Extensions* and Newtonsoft.json files to the plugin folder. I found these all dotnet/store/x64/netcoreaspp2.0 and I selected the most recent version of each of them. In my case this was 2.02 for most.

image