On Jul 23, 2008, at 11:55 PM, Gert Driesen wrote:

Rolando,

It should be in $prefix/lib/mono/2.0/resgen.exe. However, in this case NAnt is trying to use the 1.0 version of resgen.

What version of NAnt are you using? Could you try a more version (0.86 beta 1, or a nightly build)?

Can you also check whether you are actually targeting the mono-2.0 framework?

Gert

From: Rolando Martinez
Sent: Thursday, July 24, 2008 8:37 AM
To: [email protected]
Subject: [Mono-list] resgen program

Hi,
The question is very short.. where can i find the /usr/lib/mono/2.0/ resgen.exe. In my default installation of mono I was not able of to see it :( My question is because the next error message when I'm running a nant task ;/

<delete dir="${WebApplicationProjectPath}/bin" />
    <mkdir dir="${WebApplicationProjectPath}/bin" />
<csc target="library" output="${WebApplicationProjectPath}/bin/ l10nCommunityWebApplication.dll" debug="true">
           <sources>
<include name="${WebApplicationProjectPath}/Admin/ *.cs"/> <include name="${WebApplicationProjectPath}/Compnents/ *.cs"/> <include name="${WebApplicationProjectPath}/Controls/ *.cs"/>
            <include name="${WebApplicationProjectPath}/Secure/*.cs"/>
            <include name="${WebApplicationProjectPath}/*.cs"/>
           </sources>
          <resources dynamicprefix="true" prefix="Resources">
<include name="${WebApplicationProjectPath}/ App_GlobalResources/*.resx" />
              </resources>........

CompileWebApplication:

[delete] Deleting directory '/home/rmartinez/SubversionRepository/ L10nCommunity/Releases/0.1/SW/l10nCommunityWebApplication/bin'. [mkdir] Creating directory '/home/rmartinez/SubversionRepository/ L10nCommunity/Releases/0.1/SW/l10nCommunityWebApplication/bin'. [csc] Compiling 83 files to '/home/rmartinez/ SubversionRepository/L10nCommunity/Releases/0.1/SW/ l10nCommunityWebApplication/bin/l10nCommunityWebApplication.dll'. [resgen] Cannot open assembly /usr/lib/mono/1.0/ resgen.exe.

BUILD FAILED - 0 non-fatal error(s), 15 warning(s)



Thank you for your help,
Rolando.


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to