# Target platform setting not saved for Compile Delphi.NET Project

**URL:** https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150
**Category:** Discussion
**Created:** [March 18, 2009, 3:52am UTC](https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150 "2009-03-18T03:52:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 18, 2009, 3:52am UTC](https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150/1 "2009-03-18T03:52:43Z")

</div>

Hi everybody,

I am compiling a Delphi.NET program which should only run as a 32-bit application because it reads settings from the registry. There is a Target Platform setting on the Compiler tab of the Compile Delphi.NET Project action, but it does not seem to be saved with the FinalBuilder project, so when I close the project and reopen it, the setting is lost. I did not find a way to set it though script either. I am using FinalBuilder version 6.2.0.1265.

I'm currently working around the problem by running the "corflags" utility from the .NET SDK afterwards, so it is not a major problem, but it would be nice to be able to avoid such hacks. If there is a simpler workaround, I'd be interested to hear about that.

Best regards  
Robert

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 19, 2009, 2:55am UTC](https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150/2 "2009-03-19T02:55:20Z")

</div>

Hi Robert   
  
 It’s definitely a bug, the TargetPlatform property of the action was not being persisted. We should have a build with the fix included later today, I will post here when it’s available.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 19, 2009, 5:10am UTC](https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150/3 "2009-03-19T05:10:30Z")

</div>

Hi Robert   
  
 Here’s a build with the fix :   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/620/FB620\_1378.exe](https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1378.exe)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 19, 2009, 1:46am UTC](https://www.finalbuilder.com/forums/t/target-platform-setting-not-saved-for-compile-delphi-net-project/1150/4 "2009-03-19T01:46:31Z")

</div>

Wow, that was quick. Thanks a lot!
