xpnet icon indicating copy to clipboard operation
xpnet copied to clipboard

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

Open craigfarrell opened this issue 4 years ago • 1 comments

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?

craigfarrell avatar May 11 '20 02:05 craigfarrell

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?

jaurenq avatar May 11 '23 17:05 jaurenq