MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2005-10-22, 13:44   #1 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: sweden
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default Visual Studio 2005 .NET C#

Hi,

has anyone any idea if the whole project can be read into VS 2005? Anyone tried this? :?:

Best regards,
M
mytech is offline   Reply With Quote
Old 2005-10-22, 15:08   #2 (permalink)
Portal Developer
 
scoop's Avatar
 
Join Date: Nov 2004
Posts: 610
Thanks: 2
Thanked 6 Times in 5 Posts

My System

Default

Hi,

I have never compiled MP myself, but AFAIK it's currently completely developed with VS 2003. However, there's a MediaPortalV2.sln in the CVS repository with the initial comment "added MS VS.NET 2005 project files so MP can now be compiled using .net 2.0 runtime".

Kind regards,
Michel
scoop is offline   Reply With Quote
Old 2005-10-22, 15:11   #3 (permalink)
Portal Member
 
Smirnuff's Avatar
 
Join Date: Dec 2004
Location: United Kingdom
Posts: 630
Thanks: 0
Thanked 2 Times in 1 Post

My System

Default

Its very unlikely to compile without a good deal of effort and knowledge of whats been happening of late at the moment. The reason being is that we've had to implement a number of classes and interfaces, all based on classes that will be available in .NET 2, that are needed to progress a certain aspect of the app. Most of these classes exist in Core and are their namespace is the same as the .NET equivelant (System.).
Smirnuff is offline   Reply With Quote
Old 2005-10-22, 15:12   #4 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: sweden
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default Hi Michel,

many thank's for the info, this sounds great! I'll have a look for it.

Best regards,

M
mytech is offline   Reply With Quote
Old 2005-10-22, 15:20   #5 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: sweden
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Smirnu(o?)ff,

just as i replied to Michel your post came in. So, what you are saying is that you will use (using) .Net Framework 2.0? I'm running VS 2005 and programing in C#. There are some really nice features in framework 2.0.
Anyway, do you say that you are implementing stuff right now for the next release that will make it possible to run the project in VS 2005?
I have some nice ideas for MP that I would like implement, but I would like to do it with the help of VS 2005 and framwork 2.0.

Best regards,

M
mytech is offline   Reply With Quote
Old 2005-10-22, 15:29   #6 (permalink)
Portal Member
 
Smirnuff's Avatar
 
Join Date: Dec 2004
Location: United Kingdom
Posts: 630
Thanks: 0
Thanked 2 Times in 1 Post

My System

Default

I'm suggesting that its going to be a royal pain in the butt to get MP to compile under VS 2005 for the moment, if you can wait another couple of weeks then the relevant issues should no longer pose a problem.

// but I would like to do it with the help of VS 2005 and framwork 2.0

I'm of the understanding that the license which accompanies any Beta version of VS 2005 prohibits redistribution of any binaries that it produces so until we can 2003 is going to be the best you can do, unless of course you're okay with constantly running up hill when it comes to migrating from CVS.

* edit *

I've now been informed that you can redistribute binaries built with a beta version of VS 2005 but we are not permitted to redistribute the .NET 2.0 Framework. More info can be found here.

Cheers,
Smirnuff
Smirnuff is offline   Reply With Quote
Old 2005-11-25, 07:56   #7 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Sweden / Stockholm
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by Smirnuff
I'm suggesting that its going to be a royal pain in the butt to get MP to compile under VS 2005 for the moment, if you can wait another couple of weeks then the relevant issues should no longer pose a problem.
Smirnuff
Is this working now? (been a couple of weeks...)
Installed VS2005 standard edition with .NET 2.0 and downloaded all source code from cvs with wincvs. (had to add core/layouts files from another branch)
Can't compile. get 80 errors or so.

Some errors I get:
Error 1 The type or namespace name 'EnterpriseDT' could not be found (are you missing a using directive or an assembly reference?) D:\cvs\mp\mediaportal\Core\Util\FtpConnectionCache .cs 24 7 CoreV2
Error 2 The type or namespace name 'Controls' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) D:\cvs\mp\mediaportal\Core\guilib\GUIControl.cs 30 22 CoreV2
Error 3 The type or namespace name 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) D:\cvs\mp\mediaportal\Core\guilib\GUIControl.cs 31 22 CoreV2
Error 4 The type or namespace name 'Drawing' does not exist in the namespace 'MediaPortal' (are you missing an assembly reference?) D:\cvs\mp\mediaportal\Core\guilib\GUIControl.cs 33 19 CoreV2

/Bosso
__________________
AMD750 / PVR250 / win xp pro sp2 / 500Mb /160Gb / Nvidia FX5200
Bosso is offline   Reply With Quote
Old 2005-11-25, 08:46   #8 (permalink)
Portal Member
 
Smirnuff's Avatar
 
Join Date: Dec 2004
Location: United Kingdom
Posts: 630
Thanks: 0
Thanked 2 Times in 1 Post

My System

Default

It has been working perfectly since the switch to .NET 2.0. Those errors show above should only appear as deprecated warnings and not errors.
Smirnuff is offline   Reply With Quote
Old 2005-11-25, 09:30   #9 (permalink)
Portal User
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default Express Edition?

Hi,
Bosso you are using 2005 Express Edition or the full Visual Studio .NET 2005?
I try to rebuild project with Express Edition and i get 24 errors (many on the Layouts directory and core.dll file).

With Visual Studio .NET 2005 Beta 2 i have other problems but probabily due to beta version or .NET framework.

Have you done a successfull rebuild of the project?
Ryogadan7 is offline   Reply With Quote
Old 2005-11-25, 09:36   #10 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Sweden / Stockholm
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks smirnuff.
Now I know I have to dig somewhere else to find the problem.

Ryogadan7:
I'm using Visual Studio .NET 2005
Have not succeded to rebuild yet. (have to work with other stuff for now...)
__________________
AMD750 / PVR250 / win xp pro sp2 / 500Mb /160Gb / Nvidia FX5200
Bosso is offline   Reply With Quote
Reply

Bookmarks

Tags
2005, net, studio, visual

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To: Building MediaPortal with Visual Studio 2003 .Net Anonymous General Development (no feature request here!) 16 2008-07-31 03:35
Help with TVServer and client rick78 Get Support 8 2006-12-12 18:48
MediaPortal and Visual Studio .Net: How To Import sev7en General Development (no feature request here!) 4 2005-07-19 11:09
Visual Studio 2005 express AllenConquest General Development (no feature request here!) 2 2005-02-11 09:42
FREE Visual Studio .NET Anonymous General Development (no feature request here!) 3 2004-06-09 05:34


All times are GMT +1. The time now is 03:11.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress