I don't understand the problem. Does Lazarus arbitrarily delete .files with . in the *project* directory when cleaning up? Or are we talking about it removing the entire lib folder with everyting within it?