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-11-12, 11:20   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default problems compiling with visual c# express

Hi,
I got a cvs checkout of 2.0RC1, but what do I have to do to compile with c# express 2005 and .net 2.0 as suggested in home page ?
I have the following errors :

- setup : "The application is not installed"
- solution items : solution folders are not supported
- many assembly referencies are missing

Previously I was using 2003 studio and .net 1.1 -> no problems

Thanks

From Smirnuff: Please try to use more descriptive subjects than 'visual c# express'
  Reply With Quote
Old 2005-11-12, 13:51   #2 (permalink)
Portal Member
 
eagle's Avatar
 
Join Date: Sep 2004
Location: Lower Frankonia
Age: 49
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

How did you get the cvs-checkout?

I got my copy via Wincvs Version 2.012 or so. For my first attempts I used the source-code which I downloaded from sourceforge and had the same problems as you.

Now, with cvs-checkout-source, VC# 2005 Express made a built without errors and warnings. But the mediaportal.exe is very small and only the Config-Dialog is executed when I start mediaportal.exe.

I really don't know what is going wrong. Maybe there's somebody how can lead me to the right way to compile MP with VC# 2005 Express

eagle
eagle is offline   Reply With Quote
Old 2005-11-12, 14:09   #3 (permalink)
Retired Team Member
 
Join Date: Oct 2005
Location: Boston, Massachusetts USA
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by eagle
How did you get the cvs-checkout?

I got my copy via Wincvs Version 2.012 or so. For my first attempts I used the source-code which I downloaded from sourceforge and had the same problems as you.

Now, with cvs-checkout-source, VC# 2005 Express made a built without errors and warnings. But the mediaportal.exe is very small and only the Config-Dialog is executed when I start mediaportal.exe.

I really don't know what is going wrong. Maybe there's somebody how can lead me to the right way to compile MP with VC# 2005 Express

eagle
eagle,

The MP exe is pretty small (~232KB compiled in debug mode) so what you're seeing is likely OK. Also, MP launches the config wizard on the first launch if it can't find the MediaPortal.xml file, which is normal if it's the first time you've launched MP.

jgranie,

I had similar problems when I first installed C# Express. While there may be a more elegent fix, I fixed it by starting from scratch by nuking my mediaportal cvs folder and by doing a CVS checkout. The "solution items : solution folders are not supported" shouldn't stop you from building the solution.

Hope this helps -- Steve
SteveV is offline   Reply With Quote
Old 2005-11-12, 16:25   #4 (permalink)
Portal Member
 
eagle's Avatar
 
Join Date: Sep 2004
Location: Lower Frankonia
Age: 49
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

@SteveV

Thx a lot for your explanation

eagle
eagle is offline   Reply With Quote
Old 2005-11-12, 17:14   #5 (permalink)
Portal Member
 
tklon's Avatar
 
Join Date: Sep 2004
Location: Germany
Age: 43
Posts: 311
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: problems compiling with visual c# express

Quote:
Originally Posted by jgranie
- solution items : solution folders are not supported
- many assembly referencies are missing
With the latest CVS you don't have these problems/errors.
tklon is offline   Reply With Quote
Old 2005-12-17, 13:12   #6 (permalink)
Portal Member
 
tklon's Avatar
 
Join Date: Sep 2004
Location: Germany
Age: 43
Posts: 311
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default

Since yesterday I get some messages again when loading mediaportal.sln in Visual C# 2005 Express Edition:

=> Solution folders are not supported in this version of Visual Studio.
=> Solution folder 'plugins' will be displayed as unavailable.
=> Solution folder 'WebEPG' will be displayed as unavailable.
=> Solution folder 'HCWHelper' will be displayed as unavailable.
=> The Solution already contains an item named 'HCWHelper'.
=> Some of the properties associated with the solution could not be read.

After building mp it will start with some remote related unhandled exceptions and a messagebox 'This sample will now exit.'.
tklon is offline   Reply With Quote
Old 2005-12-17, 14:27   #7 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Finland
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Remove solution folders from solution.
After that import hcwhelper project back to solution.

CoolHammer
__________________
AMD Sempron 2400+ / ATI AIW 9000 Pro / Samsung 120Gb / Asus A7N8X-VM/400 / Windows XP pro Fi /LG 32LP1 LCD TV connected with DVI /Sony amp connected with S/PDIF
CoolHammer is offline   Reply With Quote
Old 2005-12-17, 14:43   #8 (permalink)
Portal Member
 
tklon's Avatar
 
Join Date: Sep 2004
Location: Germany
Age: 43
Posts: 311
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by CoolHammer
Remove solution folders from solution.
After that import hcwhelper project back to solution.
Thanks for your advice CoolHammer. Works again now.
tklon is offline   Reply With Quote
Old 2005-12-24, 09:02   #9 (permalink)
Portal User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi, thanks for your responses (I couldn't reply before, I had some troubles with my account)
I still have one question :
Can I use the version of the sources tagged RC2, or only the head latest ?
thanks
jgranie is offline   Reply With Quote
Old 2005-12-31, 15:22   #10 (permalink)
Retired Team Member
 
mPod's Avatar
 
Join Date: Jan 2005
Location: Berlin
Age: 33
Posts: 2,086
Thanks: 0
Thanked 3 Times in 3 Posts

Country:

My System

Default

From now on there's a second solution file for Express users in CVS.
Please use "MediaPortal.VC#Express.sln" in future.

Let's hope no dev forgets to update the sln.
__________________


Bad news from the stars...

We cannot give any support without a properly filled support template
and a full mediaportal.log pasted here.


Before you ask...
mPod is offline   Reply With Quote
Reply

Bookmarks

Tags
compiling, express, 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
Microsoft Visual C# 2005 Express Edition ohdarklord General Development (no feature request here!) 3 2007-01-09 06:32
help with compiling in visual c express jazz_qwerty General Development (no feature request here!) 4 2006-05-28 21:11
0.2.0.0 RC1 and CVS My Tv visual defects and problems knutinh The old Bugreport Forum 7 2005-12-15 08:12
Visual C# Express lar282 General Development (no feature request here!) 6 2004-08-06 00:37
great news -- Visual C# Express! Anonymous General Development (no feature request here!) 1 2004-06-29 15:41


All times are GMT +1. The time now is 20:31.


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