Compile problems (1 Viewer)

A

Anonymous

Guest
I checked out all sources from sourceforge. But when I try to compile with VS.NET 2003 i got a lot of error messages like:

E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicAlbums.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicAlbums.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicArtists.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicArtists.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicFiles.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicFiles.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicGenres.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicGenres.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUImusicPlaylist.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUImusicPlaylist.cs(6): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicTop100.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMusicTop100.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusicOverlay\GUIMusicOverlay.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIPictures\GUIPictures.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIPictures\GUISlideShow.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUITV\GUITVHome.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoActors.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoActors.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoFiles.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoFiles.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoGenres.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoGenres.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoPlaylist.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoPlaylist.cs(6): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoTitle.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoTitle.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoYear.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\GUIVideoYear.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullScreen\FormOSD.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullScreen\GUIVideoFullscreen.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullScreen\GUIVideoOSD.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoOverlay\GUIVideoOverlay.cs(4): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\PlayList\PlayListPlayer.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(67): The type 'Microsoft.MediaPlayer.Interop.IWMPMedia' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(68): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'play'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(68): The type 'Microsoft.MediaPlayer.Interop.IWMPControls' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(83): The type 'Microsoft.MediaPlayer.Interop.WMPPlayState' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(83): A value of an integral type expected
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(85): 'Microsoft.MediaPlayer.Interop.WMPPlayState' is inaccessible due to its protection level
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(116): 'Microsoft.MediaPlayer.Interop.IWMPMedia' does not contain a definition for 'duration'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(126): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'currentPosition'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(135): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'play'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(139): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'pause'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(177): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'stop'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(195): 'Microsoft.MediaPlayer.Interop.IWMPSettings' does not contain a definition for 'volume'
E:\projects\mediaportal\mediaportal\VideoPlayer\AudioPlayerWMP9.cs(195): The type 'Microsoft.MediaPlayer.Interop.IWMPSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\xbmc\d3dapp.cs(14): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\xbmc\MediaPortal.cs(11): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\xbmc\MediaPortal.cs(13): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
The dependency 'wmppia' could not be found.
The referenced component 'WMPLib' could not be found. A wrapper assembly is not registered for this type library.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'MusicDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'PictureDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'Settings' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'TVDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'VideoDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'MusicDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'PictureDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'Settings' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'TVDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'VideoDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.

Any idea?

bernmic
 
A

Anonymous

Guest
Here is what you need to do:
1. Under the Player project, expand References... You'll see that WMPLib has a warning. That means that it can't find the .dll, You need to run the register.bat file under Setup/postsetup.
2. Right click on References
3. Select Add References
4. Click on Browse
5. Search for the wmppia from the Setup /postsetup
6. Rebuild project....

That should do...
 

Users who are viewing this thread

Top Bottom