<div dir="ltr"><div>It looks like perhaps the IDE is trying to be too clever and when it doesn't find a current dproj is looking for a historical bdsproj to upgrade from and not coping when there isn't one (it being inconceivable that there would be anyone using an even older version of Delphi that predated the bdsproj).</div>
<div><br></div><div>To avoid this, instead of deleting the dproj, try adding the packages with the current dproj.</div><div><br></div><div>With the prior dproj intact, the IDE should identify that you are upgrading and offer to save the old version with a different name (or offer to save the new version with a different name, I forget which way round. Though I have a niggly feeling that in the past I was frustrated by the fact that it was the former, which imho is the least useful approach!)<br>
<br><br>You have versioning/backups though, so it shouldn't matter which particular named variety of these files the IDE chooses to mess with. Once you have an upgraded package/project, you "Save As" to get a file correctly named for new version you need, and then restore your previous versions from source control/backups. Right ? :)</div>
<div><br>hth</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 July 2014 11:28, Rohit Gupta <span dir="ltr"><<a href="mailto:rohit@cfl.co.nz" target="_blank">rohit@cfl.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying to migrate a group of projects (packages) from 2007 to<br>
XE6. I deleted the dcus, drc and dproj files.<br>
<br>
Even when I start from a blank project group and add the existing<br>
project in I get<br>
<br>
"Unable to load project *****.bdsproj<br>
<br>
Of course it doesnt exist, only the dpk does. A dump of error details<br>
follows. Incidentally I had the same issue last time migrating another<br>
group to XE5. That I had to recreate brand new dpk file.... and the<br>
stupid thing was identical to the original one...<br>
<br>
Any clues anyone ?<br>
<br>
<br>
<br>
[21CA67AE]{delphicoreide200.bpl}<br>
BaseDelphiProject.TBaseDelphiProject.Create (Line 775,<br>
"BaseDelphiProject.pas" + 51) + $2C<br>
[223A563A]{delphide200.bpl}<br>
DelphiProject.TDelphiProjectCreationTrait.OpenProject (Line 314,<br>
"DelphiProject.pas" + 7) + $19<br>
[2069F929]{coreide200.bpl} ProjectFileUtils.LoadProjectFile (Line 642,<br>
"ProjectFileUtils.pas" + 29) + $34<br>
[21D05BED]{delphicoreide200.bpl}<br>
CommonPasReg.TLegacyModuleHandler.FileOpen (Line 482, "CommonPasReg.pas"<br>
+ 38) + $D<br>
[2086B468]{coreide200.bpl} DocModul.TFilterList.OpenFile (Line 807,<br>
"DocModul.pas" + 36) + $0<br>
[20870A8C]{coreide200.bpl} DocModul.ProjectOpenDialog (Line 3295,<br>
"DocModul.pas" + 42) + $3E<br>
[2061437B]{coreide200.bpl} ProjectMgr.TProjectManager.AddTarget (Line<br>
449, "ProjectMgr.pas" + 2) + $7<br>
[20613C54]{coreide200.bpl} ProjectMgr.TProjectManager.CommandHandler<br>
(Line 272, "ProjectMgr.pas" + 5) + $A<br>
[204A397B]{coreide200.bpl}<br>
ContainerIntf.TIDEProjectManagerMenuObject.Execute (Line 862,<br>
"ContainerIntf.pas" + 26) + $17<br>
[204A559E]{coreide200.bpl} ContainerIntf.TProjectManagerMenuItem.Click<br>
(Line 1110, "ContainerIntf.pas" + 18) + $22<br>
[506289BC]{vcl200.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3436,<br>
"Vcl.Menus.pas" + 5) + $4<br>
[50629C2E]{vcl200.bpl } Vcl.Menus.TPopupList.WndProc (Line 4597,<br>
"Vcl.Menus.pas" + 4) + $E<br>
[50629B7D]{vcl200.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4572,<br>
"Vcl.Menus.pas" + 2) + $5<br>
[501766E4]{rtl200.bpl } System.Classes.StdWndProc (Line 17064,<br>
"System.Classes.pas" + 6) + $1<br>
[50644241]{vcl200.bpl } Vcl.Forms.TApplication.CancelHint (Line 11180,<br>
"Vcl.Forms.pas" + 6) + $D<br>
[50642EDF]{vcl200.bpl } Vcl.Forms.TApplication.ProcessMessage (Line<br>
10351, "Vcl.Forms.pas" + 23) + $1<br>
[50642F22]{vcl200.bpl } Vcl.Forms.TApplication.HandleMessage (Line<br>
10381, "Vcl.Forms.pas" + 1) + $4<br>
[50643255]{vcl200.bpl } Vcl.Forms.TApplication.Run (Line 10519,<br>
"Vcl.Forms.pas" + 26) + $3<br>
<br>
<br>
Rohit<br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br>
</blockquote></div><br></div>