Olivier,
 
Try using a recent nightly build, and let me know if this works for you.
 
Gert

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oliver Gros
Sent: donderdag 29 maart 2007 22:38
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] resource compilation for netcf-2.0



I am trying to compile resources with references to external files (images)
and it fails with:

 

               [resgen]
c:\Dev\cvs\xyz.Common\Config\UserInterface\ResUserInterface.resx(195,5):

 error RG0000: Could not find a part of the path 'C:\Documents and
Settings\user\Local Settings\Temp\tmp2A9.tmp\Resource\iconDe

vices.gif'. Line 195, position 5.

 

I read in the list that the "usesourcepath" is available, but only for
net-2.0 and not for netcf-2.0.

 

Here is part of my build file:

<target name="build">

    <resgen usesourcepath="true">

      <resources dynamicprefix="true" prefix="${project.name}">

        <include name="**/*.resx" />

      </resources>

    </resgen>

    <csc target="dll" output="${project.name}.dll" debug="${debug}">

      <sources>

        <include name="**/*.cs" />

      </sources>

      <resources>

        <include name="*.resources" />

      </resources>

      <references>

        <include name="System.dll" />

        <include name="System.Data.dll" />

        <include name="System.Xml.dll" />

        <include name="System.Drawing.dll" />

        <include name="System.Web.Services.dll" />

        <include name="System.Windows.Forms.dll" />

      </references>

    </csc>

</target>

 

Any hints, tips to solve the problem for the compact framework?

 

Thanks

 

Oliver

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to