Chau Chee Yang 0 Posted yesterday at 05:19 AM 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. Share this post Link to post
Lars Fosdal 1853 Posted yesterday at 07:56 AM Isn't that the type of error you get when you try to link a .dcu that is for the wrong platform? Share this post Link to post
Chau Chee Yang 0 Posted 21 hours ago 17 hours ago, Lars Fosdal said: Isn't that the type of error you get when you try to link a .dcu that is for the wrong platform? Yes. The platform is valid and correct. If I restart the IDE and switch to release immediately, it can build without issue. In same IDE session, a debug build followed by release build will show the error. Reverse the step by release build followed by debug build will show error too. This happens to .exe application type. For package (.bpl) it doesn't shows error. Share this post Link to post
Uwe Raabe 2147 Posted 13 hours ago Looks to me like some caching problem in the IDE. As you seem to have reproducible steps, you should file a bug report. Share this post Link to post