I encounter an issue with RAD Studio 12.3. Here are my steps:
Create a sample VCL application
Setup project to build with runtime package: vcl
Build project with debug build and it works
Switch build to release and build again, and it prompt
[dcc32 Fatal Error] Sample.dpr(5): E2213 Bad packaged unit format: t:\23.0\lib\Win32\release\vcl.dcp.Vcl.Forms - Expected version: 36.0, Windows Unicode(x86) Found version: 156.0, Windows Unicode(x86)
This happen to both 32 and 64 bits of Delphi IDE.