I managed to debug the TVplugin while using a remote TV server.
* set the remote server using the normal MediaPortal Configuration.
* had to change the TVplugin version in the last line of AssemblyInfo.cs
[assembly: AssemblyFileVersion("1.0.1.22244")] ( this is the current svn version)
You need to "install" the TV-client inside the MP debug directory.
So my way is:
1) make a normal install of MP with a TV client.
2) Run the MP config and set the remote server. test that it works with the normal MP.
3) make a new directory copy into it the following files from "C:\Program Files\Team MediaPortal\MediaPortal"
DVBSub2.ax
Gentle*.*
log4net.dll
mmaacd.ax
MySql.Data.dll
PowerScheduler.Interfaces.dll
TvBusinessLayer.dll
TvControl.dll
TVDatabase.dll
TvLibrary.Interfaces.dll
4) copy "C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\TvPlugin.dll" to
"xxxx\MediaPortal\xbmc\bin\Debug\plugins\Windows" xxxx= your SVN folder.
5) press F10 in your MediaPortal project. when it goes into the debug of the first code line,
copy the files from step 3 into "xxxx\MediaPortal\xbmc\bin\Debug"
6) press F5 to run MP. you will be connected to the remote server.
What these steps do is just what happens when you install the TV-client on an existing MP install.
You must do step 5 because every build of the project deletes these files.
I believe that there should be a better way, but the hell, this works.