home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Problem beginning plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jmhecker" data-source="post: 538134" data-attributes="member: 86959"><p>I am working a plugin for MediaPortal (obviously, heh), and I am having 1 small issue when starting.</p><p></p><p>I followed the instructions to the T that are shown in the Plugin Developers Guide, but I am running into 1 small issue that seems to be holding me back.</p><p></p><p>I am using VB.Net, which _should_ work fine, .Net compiles to the same code regardless...the line in question is:</p><p></p><p>using MediaPortal.Dialogs;</p><p>which translates to VB.Net as:</p><p>Imports MediaPortal.Dialogs</p><p></p><p>I am getting an error of: </p><p></p><p>[CODE]</p><p>Namespace or type specified in the Imports 'MediaPortal.Dialogs'</p><p>doesn't contain any public member or cannot be found. Make sure the namespace</p><p>or the type is defined and contains at least one public member. Make sure the</p><p>imported element name doesn't use any aliases. </p><p>[/CODE]</p><p></p><p>I have added the core.dll reference as directed, as well as System.Windows.Forms, etc. Is there something that I am missing, or perhaps that the documentation isn't covering? </p><p></p><p>Not having the ability to import MediaPortal.Dialogs can be quite a cramp in development <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p></p><p>EDIT:</p><p>I have attempted to use the C# code that is shown in the Plugin Development Guide, and I get the error of:</p><p>[CODE]</p><p>Error 1 The type or namespace name 'Dialogs' does not exist in the namespace 'MediaPortal'</p><p>(are you missing an assembly reference?) </p><p>[/CODE]</p><p></p><p>Which brings me to ask: Is there a chance I am missing an assembly reference? And if so, which?</p><p></p><p>EDIT #2:</p><p></p><p>SO, THATS what Dialogs.dll is for.....</p></blockquote><p></p>
[QUOTE="jmhecker, post: 538134, member: 86959"] I am working a plugin for MediaPortal (obviously, heh), and I am having 1 small issue when starting. I followed the instructions to the T that are shown in the Plugin Developers Guide, but I am running into 1 small issue that seems to be holding me back. I am using VB.Net, which _should_ work fine, .Net compiles to the same code regardless...the line in question is: using MediaPortal.Dialogs; which translates to VB.Net as: Imports MediaPortal.Dialogs I am getting an error of: [CODE] Namespace or type specified in the Imports 'MediaPortal.Dialogs' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. [/CODE] I have added the core.dll reference as directed, as well as System.Windows.Forms, etc. Is there something that I am missing, or perhaps that the documentation isn't covering? Not having the ability to import MediaPortal.Dialogs can be quite a cramp in development :P EDIT: I have attempted to use the C# code that is shown in the Plugin Development Guide, and I get the error of: [CODE] Error 1 The type or namespace name 'Dialogs' does not exist in the namespace 'MediaPortal' (are you missing an assembly reference?) [/CODE] Which brings me to ask: Is there a chance I am missing an assembly reference? And if so, which? EDIT #2: SO, THATS what Dialogs.dll is for..... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Problem beginning plugin
Contact us
RSS
Top
Bottom