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
Development
General Development (no feature request here!)
[C#] Little development question for the gurus out there ;-)
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="darkkiller" data-source="post: 552599" data-attributes="member: 48225"><p><strong>AW: [C#] Little development question for the gurus out there ;-)</strong></p><p></p><p>Hey it works now perfect <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>..if somebody else wants to make it simple & easy:</p><p></p><p>1) In Visual Studio check the properties of the solution "Build events" --> "Post build events"</p><p>Click on "Edit postbuild..."</p><p>[CODE]XCopy "$(ProjectDir)bin\$(ConfigurationName)\$(ProjectName).dll"</p><p>"C:\Program Files\Team Mediaportal\Mediaportal\Plugins\Windows" /y /r</p><p></p><p>XCopy "$(ProjectDir)bin\$(ConfigurationName)\$(ProjectName).pdb"</p><p>"C:\Program Files\Team Mediaportal\Mediaportal\Plugins\Windows" /y /r</p><p>[/CODE]</p><p></p><p>This will copy your Files everytime you compile to the right directory for Mediaportal</p><p></p><p>2) In the settings click on "Debugging" and select "Start external program: " and select there the Mediaportal.exe (e.g. C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe) </p><p></p><p>Close all and save it <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>So if you press now F5 Mediaportal will popup and you can debug your project <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Hint:</p><p>If you get any error message like DirectX Loader unlock blabla. or something like this, deactivate this error message by pressing</p><p>STRG + D and then E</p><p>and deselect "Managed Debugging Assistants" --> "LoaderLock"</p></blockquote><p></p>
[QUOTE="darkkiller, post: 552599, member: 48225"] [b]AW: [C#] Little development question for the gurus out there ;-)[/b] Hey it works now perfect :-) ..if somebody else wants to make it simple & easy: 1) In Visual Studio check the properties of the solution "Build events" --> "Post build events" Click on "Edit postbuild..." [CODE]XCopy "$(ProjectDir)bin\$(ConfigurationName)\$(ProjectName).dll" "C:\Program Files\Team Mediaportal\Mediaportal\Plugins\Windows" /y /r XCopy "$(ProjectDir)bin\$(ConfigurationName)\$(ProjectName).pdb" "C:\Program Files\Team Mediaportal\Mediaportal\Plugins\Windows" /y /r [/CODE] This will copy your Files everytime you compile to the right directory for Mediaportal 2) In the settings click on "Debugging" and select "Start external program: " and select there the Mediaportal.exe (e.g. C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe) Close all and save it :) So if you press now F5 Mediaportal will popup and you can debug your project :) Hint: If you get any error message like DirectX Loader unlock blabla. or something like this, deactivate this error message by pressing STRG + D and then E and deselect "Managed Debugging Assistants" --> "LoaderLock" [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[C#] Little development question for the gurus out there ;-)
Contact us
RSS
Top
Bottom