Hi All,
Using the the "csc" task, I got the next error message from resgen ( I
changed the framework property but the error is there yet)
<property name="nant.settings.currentframework" value="mono-2.0"/>

<target name="CompileWebApplication">
    <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>
           <references>
              ....
            </references>
        </csc>
   </target>
After I tried to run the task, but the error is:
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)

External Program Failed: /usr/lib/mono/1.0/resgen.exe (return code was 2)

Total time: 5.4 seconds.
As you can see is very strage that nant is trying run it with Cannot open
assembly /usr/lib/mono/1.0/resgen.exe (version 1? why?)

Thank you for your help..
Regards,
Rolando
-------------------------------------------------------------------------
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-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to