Bugs item #2314265, was opened at 2008-11-19 08:49
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2314265&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: cvs
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: HWANG YUNSONG (hys545)
Assigned to: Nobody/Anonymous (nobody)
Summary: mcs.exe don;t build nant-cvs-2008.11.19

Initial Comment:
Error:

BUILD FAILED

Exception has been thrown by the target of an invocation.

    This .resources file requires unsupported set class version: 2

For more information regarding the cause of the build failure, run the build 
again in debug mode.

Try 'nant -help' for more information
make: *** [build-nant] Error 1

I simply fix.

orginal Makefile
MONO=mono
MCS=mcs
RESGEN=resgen

replace mcs to gmcs

MONO=mono
MCS=gmcs
RESGEN=resgen


----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2008-11-19 08:58

Message:
Hey HWANG,

The problem here is that the Mono shell scripts were recently updated to
point to the 2.x versions of the tools.

Previously the resgen script pointed to the 1.0 version of resgen, but now
it invokes the 2.0 version of resgen.

However, the mcs script still points to the C# compiler targeting Mono 1.0
(.NET 1.1) and - as a result - the resources compiled using the resgen
script are not usable by mcs.

To fix this, there are two options:

MCS=gmcs (like you did)

or 

RESGEN=resgen1

I'll probably take this up with the Mono team as well, as their change may
break compilation for other applications as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2314265&group_id=31650

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to