-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can't run more than 1 plugin at a time #33
Comments
I wonder if CLR can be initialized multiple times and run side-by-side. Would you consider native AOT? |
Hi, I'm not at all familiar with AOT. I was just wondering how it will work if I need to create more than one plugin. I will probably have to dust off my C++ books and just create native plugins. |
Simply use https://github.com/wegylexy/XPLM for native AOT. Or would you consider combining the two into one? |
Thanks, I will have a look at this.
…On Tue, 10 Aug 2021 at 04:07, TimTim ***@***.***> wrote:
Simply use https://github.com/wegylexy/XPLM for native AOT. Or would you
consider combining the two into one?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGMDZKLT3TKUDF3FTF2VALT4CCWVANCNFSM456WHDDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi, is there a sample plugin using the XPLM project? I managed to get everything compiled but I'm not sure where the win.xpl is built from. Any help would be greatly appreciated. |
@jfjoubert A template is available at https://github.com/wegylexy/XPLM/tree/main/XPL , which references 2 nuget packages that will generate |
Follow https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/compiling.md to acquire the experimental You do not need my XPLM source code; just reference the 2 nuget packages in your own project. |
Thanks for your assistance. |
Feel free to create a PR to my repo with a guide for new users. |
@wegylexy Hi, I'm not having any luck getting this to work. I tried with VS2019 and installed the .NET 6.0 framework. I then tried with VS2022 preview and I'm getting the same errors when trying to publish. I'm using the 'dotnet publish -r win-x64 -c Release' command. I'm getting a whole bunch of errors: I don't know how to reference the x64 instead of x86 libraries. The project is building successfully though. Any pointers would be greatly appreciated. |
You must run |
Thanks, I never even thought about that. Now it's working. |
Do you perhaps have a sample of how a FlightLoop is registered? Thanks. |
Added just now wegylexy/XPLM@b9a8ed8 |
Thanks a million. |
Hi, I have created 2 separate xpnet plugins that are both working fine if it's the only xpnet type plugin added to the xplane plugins folder. The moment I have more than 1 xpnet plugin in the plugins folder then xplane will just hang when trying to load the second xpnet plugin.
The PluginAssemblyName and PluginType entries are unique for both plugins as well as the underlying dll files.
What am I doing wrong?
Thanks,
Jean
The text was updated successfully, but these errors were encountered: