Normal
AW: [C#] Little development question for the gurus out there ;-)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 /rXCopy "$(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 Mediaportal2) 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 pressingSTRG + D and then Eand deselect "Managed Debugging Assistants" --> "LoaderLock"
AW: [C#] Little development question for the gurus out there ;-)
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"
[/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"