Here is a link to an MSDN article about this error. It doesn't explain why it happens in deployment vs. development but it may give you some helpful information.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cscomp/html/vcerrCompilerWarningLevel1CS1595.asp>>You need to change the warningLevel in your machine.config to 0 to ignore the CS1595 error. You will find the warningLevel in the compiler section.
>
>Thanks Cathi,
>
>I've set the warninglevel to 0. I got one more CS1595 error, but then it worked. However I wonder why it does works on the development machine with warningleven set to the default 1.
>
>Martin
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi