C# NeoBook PlugIn Template - Forum

Forum Navigation
You need to log in to create posts and topics.

C# NeoBook PlugIn Template

Before NeoSoft was taken over by SinLios, they hosted a template for making a plugin for NeoBook using C#. The C++ plugin template (which was designed for NeoBook 4) was archived but this C# template wasn't. I am interested in making a small plugin for personal use however I can't start anywhere unless I have the template.

Does anyone have this template? I cannot find a mirror of it anywhere on the internet.

 

This forum post from the archived NeoBook forum shows that it exists:
https://archive.visualneo.com/viewtopic.php?p=11217750&sid=c24200910493c5a2fee0a26a0e820a78#p11217750

Here is the original link for the file (results in "File not found (404 error)"):
http://www.neosoftware.com/software/CSharpNeoBookPlugInTemplate.zip
(your website is not hosting this file and this was not backed up by The Wayback Machine by The Internet Archive)

https://yadi.sk/d/BS86PDz6eLHijA

Regards

Andrei (as3856)

Thank you for your reply, as3856. However, that is the C++ plugin SDK, which is the same thing as the Neobook 4 C++ SDK. As per the content of my post, I am looking for the C# Plugin SDK (http://www.neosoftware.com/software/CSharpNeoBookPlugInTemplate.zip).

Sorry friend. I have no other.

Andrei (as3856)

xchellx has reacted to this post.
xchellx

Oh... alright. Thank you for trying to help :)
In the meantime, I will be doing other things while awaiting an answer.

I'm asking Dave about it.
Perhaps he still have a copy.

xchellx has reacted to this post.
xchellx

Thank you so much for this.
I appreciated it! :)

@luishp

Any recent news about this? Does he have it?

No news from Dave, sorry.
He is probably on holidays.
As soon as I get any information will publish it here.

xchellx has reacted to this post.
xchellx

Oh, ok. Thank you for your answer. :)

@xchellx, I have finally had an answer from Dave.
Attached is the C# plugin SDK template.
Regards.

Uploaded files:
  • You need to login to have access to uploads.
Vadim and xchellx have reacted to this post.
Vadimxchellx

Awessommeee. Say I said thanks to dave!!!

However, what version of Visual Studio must I use? 2013 gives various errors...

Sorry @xchellx I have no idea.
Dave doesn't even remember who was the user who did that template.
I do not have more imformation, sorry!

xchellx has reacted to this post.
xchellx

Oh ok... thanks

So I figured it out @luishp (I really hope you don't mind me mentioning you a lot).
My request is that you make this readily available (with rebranding for VisualNeoWin) from your Downloads page (https://visualneo.com/downloads) so that many can access it.

Prerequisites:

  • Visual Studio 2015 (can be any edition like Pro and Community--- I'm using Community, which is free).

Setting up:

  1. Place CSharpNeoBookPlugInTemplate.zip (yes the zip file, don't extract it!) in %USERPROFILE%\Documents\Visual Studio 2015\Templates\ProjectTemplates (%USERPROFILE% is an environment variable for windows that is DRIVELETTER:\Users\USERNAME)
  2. Launch Visual Studio 2015 and go to File -> New -> Project...
  3. Expand Templates -> Other Languages and select Visual C#
  4. Select .NET Framework 4.5 at the top-left dropdown box
  5. Find and select NeoBookPlugIn in the list then give the appropriate project name of your choice and click OK

For building:

  1. Go to Build -> Configuration Manager
  2. Set Configuration for your project in the list to Release and set the Active solution configuration to Release then set Platform for your project in the list to x86 and set the Active solution platform to x86
  3. Right-click on the project (not the solution) in Solution Explorer and click Properties. Click on the Build Events tab then put ren $(TargetPath) $(TargetName).nbp in the Post-build event command line input box. This is so the output file is renamed from projectname.dll to projectname.nbp when the project has finished compiling.
  4. Make sure Solution projectname (1 Project) is selected by clicking on it once (in Solution Explorer toolbar at the left)
  5. Click on Build -> Build Solution
  6. If successful (and you followed the steps for Setting Up and Build correctly), you should get ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== in the Output toolbar at the bottom. You can find the compiled plugin in %USERPROFILE%\Documents\Visual Studio 2015\Projects\projetname\projectname\bin\x86\Release as projectname.nbp which you can install it from VisualNeoWin.

Notes:

  • If you want a custom icon for your plugin, make a file called package.ico and make it a 32x32 windows icon file. Then, edit it with your favorite image editing software (like Paint.NET or GIMP) to add your icon resized to 32x32 and save it. Make sure your package.ico is at the root folder of your project (where the projectname.csproj file is located at). Now, right-click on the project (not the solution) in Solution Explorer and click Properties. Click on the Application tab then in the Resources sub-section, click the ... button next to the icon input field then browse to your package.ico and select it.
Vadim has reacted to this post.
Vadim

Thank you very much @xchellx!!

I have added the .zip file to the downloads page and your comments in a readme.txt file within the zip.
Thanks again!

 

xchellx has reacted to this post.
xchellx

Great!!!