Alink error, creating satellite assembly

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

C#, VS.NET v1.1
I have lots of resx files, and created lots of test .de.resx files.
When I built, a couple of the .de.resx files gave link errors when building
the satellite assembly. To keep going I excluded those files. Now I am
coming back to them and the errors are strange.
In order to exclude the files themselves as having some issue, I create a
new resx file using VS. If I give the file a longer name I get a AL1045
error. If I give it a shorter name I get a AL1022 error.
The resx file gets compiled into a resource file in the OBJ folder.

AL1045: (my file path+name is only 125 characters)
Filename 'file' is too long or invalid
A file name longer than 260 characters was passed to Al.exe. Choose a file
name with fewer characters or a shorter path, or rename the file.

AL1022:
Error reading embedded resource 'file' — reason
Al.exe cannot read the file passed to the /embedresource option for the
specified reason.

Any ideas???
TIA
 
Hi

I think you may try to take a look at the link below.

829970 "ALINK: Error AL1022: Error Reading Embedded Resource" Error Message
http://support.microsoft.com/?id=829970

If that did not work, I think you may try to isolate the problem by
compiling the problem resource(*.de.resx) files in another new winform
project to see if that works.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
That took care of this issue. It also seems to have solve my other issue
with missing resources.
Thanks
 
Back
Top