Jump to content

Plugin Development Issues First Time Builder


Recommended Posts

Posted

QQs:

  1. When developing a Plugin in Visual Studio what should the build action be set to?
  2. Is there a prefered Framework Version - Example net6.0, net2.0, etc.

Image attached shows where I always get stuck at.   I also attached Log File.

 

Thank you in advance! 

 

image.thumb.png.2bb154cb5958800741cd27c9d2937ac6.png

embyserver (4).txt

Posted

Yes I have and unfortunately it hasn't been updated since 2018 so I wanted to ensure I was getting the most accurate an up to date information from anyone who recently created a plugin.

 

Posted
6 minutes ago, Syntax24 said:

Yes I have and unfortunately it hasn't been updated since 2018 so I wanted to ensure I was getting the most accurate an up to date information from anyone who recently created a plugin.

 

The answer to your second question can be found there, and it is still current. You don't need any build action.

  • Like 1
Posted

What exactly is the problem?

Posted

Every time I try to click on my plug-in that I am creating I get the error message that is in the above screenshot.  It’s a possibility that my file structure isn’t correct. Is there a good place for me to go and reference that?

Posted

This is the error I consistently receive no matter what I change or adapt image.thumb.png.92e6980d827b0d2c3e8d1e44356a01c9.png

Posted

Are you sure that is the log file from when the problem was experienced?

Posted

Yes, that's the problem.  I can't tell anything from the log.

 

Posted

And how did you wire up your config screen?

Posted

Are you asking the folder layout or for the script?

 

image.png.a460acc05a58692980630a61f1e997db.png

Posted

But also how you wired it up in RetroGamePlugin.cs

Posted

What do you mean by how I wired  up RetroGamePlugin.cs

Posted

Well did you look at the example plug-in I linked to?

Posted

Yes, i worked today so i haven't had a chance to compare the 2 yet

 

Posted

OK there should be code in there that you can just copy paste.

  • Like 1
Posted

Ok, I am working all week I will try this weekend

 

  • Thanks 1
Posted

As an update I was able to use the Emby SDK Master to correctly load a plugin.  I am now just continuing to build.

 

  • Thanks 1
Posted (edited)

@LukeI am missing something when it comes to having Emby recognize an html file.   For some reason I can get the plugin page to load as long as there isn't an html in the files, once I create an html I can never get my custom settings screen to load.  Any Pro Tips.  I am marking them as an embedded resource.  I have also attached a copy of my Log Files.  The Plugin is named "Amani RetroCloud".

embyserver (16).txt

Edited by Syntax24
Posted

Make sure you're using a nuget package that has a version number that is equal to or less than the version of the server you are running, not greater.

  • Thanks 1
Posted (edited)

I verified all DLL files

4.8.11 same as server version

Edited by Syntax24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...