jejegameex Posted April 28, 2022 Share Posted April 28, 2022 Hi, the example plugin template is in VB.net format : can someone provide it in C# ? The framework targeted was .Net framework 2.0 : can we use a newer framework ? Maybe in .Net core, now that PinballX is developed in this framework ? Quote Link to comment Share on other sites More sharing options...
Draco1962 Posted April 29, 2022 Share Posted April 29, 2022 May be best to place an entry here for Tom's visibility: Quote Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted April 29, 2022 Share Posted April 29, 2022 To be honest, I think I looked at the template just onestime and that was years ago. But I thought that the template just contains the functions that could be used and not depending to a .net version ? Besides Tom who knows more about the plugin template, I think @scuttersknows a lot about the templates as well Quote Link to comment Share on other sites More sharing options...
scutters Posted April 29, 2022 Share Posted April 29, 2022 I'm pretty sure all the plugins i've done i've changed the runtime to .net 4. Seems to fairly universally installed and will work with pinballx .net core & legacy (32/64bit) versions. I guess it wouldn't take much to convert the plugin template to C# via online converters, but if you choose to go with .net core then any plugins won't be backward compatible with legacy pinballx Quote Link to comment Share on other sites More sharing options...
jejegameex Posted April 29, 2022 Author Share Posted April 29, 2022 OK, I understand how to create a plugin. It's simple, no need to add references... The process : - Create a new project for make a .dll - Add a class named Plugin - Add methods like Name, Version... for the description of the plugin - Add events methods like Input_Keyboard... Plugin Manager.exe see my plugin, it's good ! So I'll try to create one in .net framework 4. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.