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

I get the following error in the log with the bare bones implementation (nuget) #32

Open
craigfarrell opened this issue May 11, 2020 · 1 comment

Comments

@craigfarrell
Copy link

XPNet: X-Plane reports plugin dir as D:/X-Plane11/Resources/plugins/AirlineCaptainPlugin/64
XPNet: Probing for a CLR at D:/X-Plane11/Resources/plugins/AirlineCaptainPlugin/64/dotnet-windows/shared/Microsoft.NETCore.App...NO
XPNet: Probing for a CLR at D:/X-Plane11/Resources/plugins/AirlineCaptainPlugin/dotnet-windows/shared/Microsoft.NETCore.App...FOUND
XPNet: Will load plugins from D:/X-Plane11/Resources/plugins/AirlineCaptainPlugin
XPNet: Will load CLR from: D:/X-Plane11/Resources/plugins/AirlineCaptainPlugin/dotnet-windows/shared/Microsoft.NETCore.App/2.1.17/coreclr.dll
XPNet: ClrPluginStart Result = 0.
Failed: D:\X-Plane11/Resources/plugins/AirlineCaptainPlugin/64/win.xpl. (The plugin refused to start by returning 0 from XPluginStart.)

The constructor contains:

public Plugin(IXPlaneApi api)
{
m_api = api ?? throw new ArgumentNullException(nameof(api));
}

.. which is the equivalent of the XPluginStart right?

@jaurenq
Copy link
Collaborator

jaurenq commented May 11, 2023

Hi Craig,

  1. See if xpnet.log got created in D:\X-Plane11/Resources/plugins/AirlineCaptainPlugin or one of the subdirectories below it. See if there are any usable error messages in there, and post its contents here.
  2. Do you have an xpnetcfg.json file configured in your plugin directory?

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

2 participants