NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 33 34 35 36 37 … 93 Next »
Updated plugin development documentation

 
  • 0 Vote(s) - 0 Average
Updated plugin development documentation
bstegman
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Mar 2008
#1
2008-03-17, 02:04 PM
Does anybody know where I can find some updated plugin development documentation?

Thanks
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2008-03-17, 03:12 PM
I'm not big on producing documentation, but you can find a few sample plugins here: http://forums.nextpvr.com/showthread.php?t=27703
Powergrid
Offline

Junior Member

Posts: 7
Threads: 0
Joined: Feb 2008
#3
2008-03-24, 12:01 AM
Greetings;

I'm taking my first journey into plug-in development and C# all at the same time. I'm sure I'm crazy! I've been sifting through a lot of older documentation and trying things for the last couple of days. I'm slowly starting to get my feet under me, but I'm being vexed by this seemingly simple issue and I think I'm lost in the forest because of all the trees!

Anyway, I'm using SharpDevelop v2.2.1 and have unzipped your "Hello.zip" file to a directory on my machine. When I try to build the solution, I'm getting the following in my output pane:

Build started.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0) : Warning : The referenced project '..\..\GBPVRPublic\GBPVRPublic.csproj' does not exist.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0) : Warning : The referenced project '..\..\PVRUiPublic\PVRUiPublic.csproj' does not exist.
Compiling HelloWorld
Error CS2001: Source file 'Properties\AssemblyInfo.cs' could not be found
Build finished successfully.

The dll is not being created. Am I missing a reference or something? I was sure this worked for me before. What the daylights am I missing???

Thanks for helping a total greenhorn...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2008-03-24, 12:17 AM
I'm not familar with SharpDevelop, so cant give you exact instructions with this. You may find it easier to download the free version of Visual C# Express from the microsoft website.
Powergrid
Offline

Junior Member

Posts: 7
Threads: 0
Joined: Feb 2008
#5
2008-03-24, 01:13 AM
Good advise. Thanks for that! I have d/l'd and installed MS C# Express.

When I load the Hello World project and build it, I get one error and one warning, although they don't make a lot of sense to me. Dang, I hate being the noob...

Error 1 Source file 'M:\Media Center Installs\GBPVR\Development\Hello World\plugins\HelloWorld\Source\Properties\AssemblyInfo.cs' could not be opened ('Unspecified error ') HelloWorld
Warning 2 The referenced project '..\..\GBPVRPublic\GBPVRPublic.csproj' does not exist. HelloWorld

With regards to the Error, I can see that its looking for "AssemblyInfo.cs", but I'm not sure where that should come from initially.

Sorry to be a whining pest, but I really would like to wrap my head around this. Like I said, I think I've lost sight of the forest for all the trees!

Thanks Much in advance.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2008-03-24, 01:17 AM
Try creating a Properties\AssemblyInfo.cs file containing the following.

Code:
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HelloWorld")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HelloWorld")]
[assembly: AssemblyCopyright("Copyright ©  2007")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("89ce5fc9-af1f-4839-bdec-1a270e565d18")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Powergrid
Offline

Junior Member

Posts: 7
Threads: 0
Joined: Feb 2008
#7
2008-04-01, 11:58 AM
Hi sub;

Well, I've done the prudent thing and taken the time to read and learn a little more before asking the proverbial stupid questions. I've made some good progress with regards to understanding the structure and interaction of the whole thing. I've actually gotten the "Hello World" sample to work and have been able to modify it at both the dll and skin level. Now, I'm just trying to consolidate/reconcile the literature that speaks to the older GBPVR/blue development and the PVRX2/Community stuff.

I'm continuing to read through the forums and glean understanding from all the snippits of info.

Bottom line, thanks for your answers some time ago. I appreciate it. Smile
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2008-04-01, 03:30 PM
Great - good to hear you got it sorted.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 3,034 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,516 2020-11-14, 08:01 PM
Last Post: sub
  Test/Development environment for npvr.db3 scJohn 10 4,512 2020-09-04, 09:14 PM
Last Post: scJohn
  VIdeo playback from plugin mvallevand 5 3,609 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,987 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,849 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,298 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 2,008 2013-03-12, 06:48 AM
Last Post: psycik
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,843 2012-10-18, 08:35 PM
Last Post: osx-addict
  Plugin problems with started from the command line mvallevand 11 5,173 2012-08-12, 07:56 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode