Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

[PLUGIN DEVELOPMENT] Can someone provide a Visual Studio template in C# for PinballX plugin ?


Recommended Posts

Posted

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 ?

Posted

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

Posted

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

Posted

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.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...