I found the reason for these errors: I have one data dll with all data declaration, and web exe. In data dll in global extensions I have: selfservice, winevent, stringtheory templates... On properties, in multi-dll tab I checked (in old version, n5), 'this is a part of multi-dll program'. But, also in web server application, there is exactly the same check, and this is source of errors on compilation. I just simply un-check that check options in web application and all goes well now.
Regards, Ozren.