Kenny Choi
Kenny Choi

Reputation: 193

Delphi.Personality is not avaliable

Recently, I get this error, and all Delphi-related project/file creation items are missing:

The project can not be loaded because the required personality Delphi.Personality is not available..

What I need to do is select "Manage Platform" and then RAD Studio will reinstall some components and restore the project menu.

However, the issue will occur again when I close and re-open RAD Studio.

I did not have such a problem before. Does anyone know how to fix it?

Upvotes: 18

Views: 14288

Answers (8)

Alexander Roehnisch
Alexander Roehnisch

Reputation: 715

It means, that your project file points to a project for a programming language/platform (personality) that hasn't been installed through the "Manage platforms..." dialog. The .proj file contains an element Borland.Personality, that specifies the platform of the project. In the case below, the project will only open, if the Delphi personality is installed.

<ProjectExtensions>
    <Borland.Personality>Delphi.Personality.12</Borland.Personality>
    <Borland.ProjectType>VCLApplication</Borland.ProjectType>
    <BorlandProject>
        <Delphi.Personality>here ...

Upvotes: 0

delphirules
delphirules

Reputation: 7438

I've got this error after installing Visual Studio.

For me it fixed itself when i open Delphi as admin, close, and open again.

Upvotes: 2

Allan F
Allan F

Reputation: 2298

I wondered if it relates to Visual Studio usage at same time as Delphi .. and debugging in both .. Closing Visual Studio and Delphi and reopening Delphi corrected message/issue for me.

Upvotes: 1

Dreamer64
Dreamer64

Reputation: 1199

I got the same Error, but for me I combined most answers, and it works well on Delphi 11.2 so here is my steps:

  1. Just open and close (as admin) several times.
  2. Open the .dpk only!
  3. Close it then open the project again and it works just fine.

Upvotes: 2

LifeIsButAJoke
LifeIsButAJoke

Reputation: 81

Got the same error. This worked for me:

In the IDE, open Tools - Manage platforms and hit Apply (without changing anything)

Close/open the IDE a then the project opens fine.

found this solution here https://en.delphipraxis.net/topic/7007-rad-studio-104-community-edition-missing-delphipersonality/

Upvotes: 8

Holy Thirteen
Holy Thirteen

Reputation: 338

I got the same error, closing and opening delphi 11 for several times, the problem fixed. It looks like that's a temporary error.

Upvotes: 10

Mauran Muthiah
Mauran Muthiah

Reputation: 1229

Got the same error previously when running RAD Studio 10.02. Uninstalling that and installing RAD Studio 10.04 did the trick for me.

Upvotes: 2

Javierus
Javierus

Reputation: 76

Deleting the .dproj file and opening the .dpr or .dpk, which recreates the .dproj, fixed it for me. HTH

Upvotes: 5

Related Questions