How manage or clean deploy section in dproj files?

Viewed 898

On saving project with only Win32 target platform in Delphi 10.1 Berlin and some previous versions of Delphi XE, I've got a .dproj file with added a big section with many items that having many items for all platforms that Delphi potentially support.

How to prevent adding this garbage to .dproj by an IDE?

1 Answers

I believe those sections are added by the profiledeployide*.bpl package. Disable that package by adding an underscore to the corresponding Registry Data.

Computer\HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Known IDE Packages

Name: $(BDS)\Bin\profiledeployide270.bpl

Data: _(Untitled)

IDE Package To Disable

Related