Compiling Csla 3.0.2 BR with Framework 3.5 compiler fails

Compiling Csla 3.0.2 BR with Framework 3.5 compiler fails

Old forum URL: forums.lhotka.net/forums/t/4002.aspx


ajj3085 posted on Friday, December 07, 2007

Hi,

I'm having an weird error now compiling Csla 3.0.2 Beta Refresh.  My build server is using .Net framework 3.5's compiler, because I'm now on Vs2008 Pro RTM, but my target framework is still 2.0.

I'm getting a compiler error when the satilite assemblies are build; ai.exe exits with an error, and I get the following from a dialog popup.

---------------------------
AL.exe - Unable To Locate Component
---------------------------
This application has failed to start because alink.dll was not found. Re-installing the application may fix this problem.
---------------------------
OK  
---------------------------


Any ideas?

Thanks
Andy

ajj3085 replied on Friday, December 07, 2007

Hey guys, I found the problem.  After some searching, I found a thread that suggest that having a - in the filename of a resource file (eg, resouces.en-US.resx) caused this error.  I removed all the .resx files except Resources.resx and the build server now can compile the project again.  The odd thing is that it doesn't seem to happen on my Vista Business workstation (the server is Server 2003 R2). 

Also, repairing the .Net 3.5 framework didn't resolve the issue either.

Anyway, just posting this in case someone else hits it.

Copyright (c) Marimer LLC