Menu

#204 ALINK: Error AL1022: Error Reading Embedded Resource

0.85
open
nobody
Core (183)
5
2004-08-27
2004-08-27
rvf
No

VS2003 had a bug:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;829970
Microsoft supplied a hotfix for VS.

But i have same problem when I build with nant
I have projects with a lot of different cultures,
languages and resource files. Also with source and
target directories with long names

This causes to call the AL with a command line larger
than 32000 chars resulting in a truncated commandline.

It would be very nice if you could fix this.

Discussion

  • Gert Driesen

    Gert Driesen - 2004-08-27

    Logged In: YES
    user_id=707851

    Can you provide a verbose build log of this issue ?

    Meaning :

    NAnt.exe -verbose -logfile:out.txt <buildfile>

    and attach out.txt to this bug report

     
  • rvf

    rvf - 2004-08-30

    verbose output log for ALINK error

     
  • rvf

    rvf - 2004-08-30

    Logged In: YES
    user_id=1031944

    Verbose outputlog attached...

    Currently I use a workaround. I've written a custom nant
    function to get the windows 'short' filename. I pass this short
    path as the source and output folders. this works for now,
    but in the future more resourcefiles will be added. Also it only
    happens when the source dir is completely empty (resgen
    needs to generate all resource files).
    I've been experimenting with ALINK manualy, but no luck. I
    don't know how microsoft solved this issue.

     

Log in to post a comment.