Jump to content

Duplicates not allowed


Recommended Posts

Are you not able to open all old projects or a particular old project?

 

How old is the project (I suspect it is at least v2.0)?

 

At any time you can open the .sproj file, which is a pure XML file to check whether there is something odd. Often some tags are just present several times, which might cause the conflict. However, I'm not sure how you got these duplicates though.

 

Also, it might help to delete local .dsk files, which might have a wrong references or reference a file twice, causing that message.

Link to post
Share on other sites
  • 2 weeks later...

I got it: the upgrade was a coincidence.

The real reason was the following: The name of my project was 'Forms' (not very original I know :) then I renamed the unit created by default 'Unit1' with the same name than the project itself 'Forms'...

So in the sproj file I had: 

 

<File type="unit">
        <Name>Forms</Name>
 
and 
 
  <File type="main">
        <Name>Forms</Name>
 
This works fine until you close the project and try to reopen it (after an upgrade in my case).
This situation is responsible for the 'Duplicates not allowed' message to appear at project opening time...
As soon as I changed the unit name to something different, I was able to open the project.
 

Looks like a bug to me, what do you think?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...