I’m creating a plug-in. The Plug-in is installed , visible ( and controllable ) in the management client. But the BackgroundPlugin does not seem to be loading. I really am lost on this, other plug-ins do load and show up in event log :
example
BackgroundPlugin.Init(), in randomBackgroundPlugin
Please check if you have following setting in your code:
/// <summary>
/// Define in what Environments the current background task should be started.
/// </summary>
public override List<EnvironmentType> TargetEnvironments
{
get { return new List<EnvironmentType>() { EnvironmentType.Service }; } // Default will run in the Event Server
}
Also please try to restart Event Server When you deploy your plugin.
Found the problem, there was an issue with the resources file for some reason, so i removed all and added them again. Resources used some .png files for pictograms. No idea why they did not load, but this fixed it.