MediaPortal Forums HTPC/MediaCenter

Sponsored Ads

Go Back   MediaPortal Forum » MediaPortal 2 » Help on Development

Help on Development Want to help with the development of MediaPortal 2? Then this is the right place for you.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-01-08, 20:56   #1 (permalink)
Retired Team Member
 
Join Date: May 2004
Location: the Netherlands
Posts: 227
Thanks: 1
Thanked 0 Times in 0 Posts


Lightbulb

Quote:
Originally Posted by James View Post
VS C# Express is not currently supported, because no one on the team uses it and secondly with the amount of changes still happening maintaining multiple solution files is too much work.

I cannot promise a team supported VS express solution file any time soon.

VS Express can be used to compile the core (if you create your own solution file) and can definitely be used for plugin development. The problem is that we use solution folders which are not supported by VS Express. These need to be flattened out in a VS Express solution.
Actually I found that MPII builds just fine in VC# Express 2005 with the Solution file that is in SVN. When you open it in VC# Express 2005 you get one warning for MyWeather (I don't really understand this one) and a few warnings that solution folders are not supported (limitation of the Express versions) and thats it.

After that it compiles just fine. I don't have "the real" VS2005 to view the original Solution but it is my guess that VC# Express flattens the folders by itself. Because as far as I understood solution folders are just for organising big projects.

I attached some screenshots of the warnings so you know what to expect. And at the end my projectlist how looks in VC# Express 2005, maybe someone can verify that it really just flattens the structure.

This was all done with Visual C# 2005 Express on Windows XP

---

I just tried to compile and run MP II on my new PC with VC# 2008 Express on Vista x64 and that also works. You won't get the error dialogs as described above, but VC# 2008 Express will convert al project files to the new format. Other than that, no issues found yet.
Attached Images
File Type: png My Weather Warning.png (24.1 KB, 56 views)
File Type: png My Weather Warning - Details.png (14.9 KB, 35 views)
File Type: png Solution folders not supported.png (11.1 KB, 42 views)
File Type: png MPII Projectlist.png (21.9 KB, 47 views)

Last edited by Mr.Mitchell; 2008-01-19 at 18:55. Reason: Added version of VC# and OS
Mr.Mitchell is offline   Reply With Quote
Old 2008-01-09, 10:17   #2 (permalink)
Portal Developer
 
scoop's Avatar
 
Join Date: Nov 2004
Posts: 616
Thanks: 2
Thanked 6 Times in 5 Posts

My System

Default

Quote:
Originally Posted by Mr.Mitchell View Post
Actually I found that MPII builds just fine in VC# Express 2005 with the Solution file that is in SVN.
Hi Mr.Mitchell,

Nice to know that at least the compile process seems to work without any issues. Did you also successfully run the build after building it with VC# Express? Of course it's possible to get a working build if you put some effort into it, but since nobody from the dev team uses VC# Express we simply cannot promise there won't be any issues when doing it this way. Hence the statement that it's not officially supported. If it works however, then that's great of course.
scoop is offline   Reply With Quote
Old 2008-01-09, 12:08   #3 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,279
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Mr. Mitchell,

Looking at your picture I see the solution has 31 project in it. There are 2 missing the current project has 33 projects.
I'm not sure which ones are missing?
James is offline   Reply With Quote
Old 2008-01-09, 19:59   #4 (permalink)
Retired Team Member
 
Join Date: May 2004
Location: the Netherlands
Posts: 227
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by scoop View Post
Nice to know that at least the compile process seems to work without any issues. Did you also successfully run the build after building it with VC# Express? Of course it's possible to get a working build if you put some effort into it, but since nobody from the dev team uses VC# Express we simply cannot promise there won't be any issues when doing it this way. Hence the statement that it's not officially supported. If it works however, then that's great of course.
I forgot to mention that it actually runs also . Currently there seems to be no need for a separate solution, just open on the one in SVN. But since none of the devs use VC# Express I understand the statement.

Quote:
Originally Posted by James View Post
Looking at your picture I see the solution has 31 project in it. There are 2 missing the current project has 33 projects. I'm not sure which ones are missing?
Whoops, thats my fault. This is was the checkout I made at the time of the technical preview. I just updated the workarea and now I have 33 projects. I just tried it with the current SVN with the Xaml skin engine enabled as described in Frodo's blog. It seems like it is progressing nicely
Attached Images
File Type: png MPII Projectlist 33.png (23.7 KB, 72 views)
File Type: png MPII Xaml engine rev 16987.png (125.4 KB, 162 views)
Mr.Mitchell is offline   Reply With Quote
Old 2008-01-10, 07:23   #5 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

it sure is;-) and the smiley you see are vector graphics
Look at skin\default\text.xml for all the xaml

frodo
frodo is offline   Reply With Quote
Old 2008-01-26, 21:09   #6 (permalink)
Portal Member
 
Join Date: Feb 2007
Location: London
Age: 24
Posts: 264
Thanks: 2
Thanked 9 Times in 8 Posts

Country:

My System

Send a message via MSN to revs
Default

How much of MP-II will be vector? As much as possible I hope so that all the skins scale nicely!

Great work frodo!
revs is offline   Reply With Quote
Old 2008-01-27, 15:30   #7 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,515
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

indeed as much as possible
frodo is offline   Reply With Quote
Old 2008-03-01, 22:36   #8 (permalink)
Portal User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Can you post a link to your vc C# express solution file? I'd like to mess with it. Although I might have a full copy of VS2005 so maybe I'll just install that.
mditty is offline   Reply With Quote
Old 2008-03-02, 12:48   #9 (permalink)
Retired Team Member
 
Join Date: May 2004
Location: the Netherlands
Posts: 227
Thanks: 1
Thanked 0 Times in 0 Posts


Default

I am not sure why you would need that solution file. You can just open the one in SVN with VC# Express and it will convert the solution as needed.
Mr.Mitchell is offline   Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling MS Visual C# 2005 Express Edition GadgetMan General Development (no feature request here!) 1 2007-07-05 08:19
help with compiling in visual c express jazz_qwerty General Development (no feature request here!) 4 2006-05-28 21:11
problems compiling with visual c# express Anonymous General Development (no feature request here!) 9 2005-12-31 15:22
Unable to build latest CVS with VC# 2005 Express Beta Anonymous General Development (no feature request here!) 3 2004-12-07 01:59


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


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