Delphi 2007 x Windows 10 - Error on opening project

Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error :

Unable to load project xxxxx The imported project "c:\Windows\Microsft.NET...\Borland.Delphi.Targets" was not found. Confirm that the path declaration is correct, and that file exists on disk

Any hints to fix it ?

You need to copy some files in your old Windows folder to the new one. After that projects open again.

The needed files are these :

c:\windows\Microsoft.NET\Framework\v2.0.50727\Borland.Common.Targets
c:\windows\Microsoft.NET\Framework\v2.0.50727\Borland.Cpp.Targets
c:\windows\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets
c:\windows\Microsoft.NET\Framework\v2.0.50727\Borland.Group.Targets

Just copy them from the older windows folder to the new one.

Delphi 2007 x Windows 10 - Error on opening project, Solution : You need to copy some files in your old Windows folder to the new one. After that projects open again. Just copy them from the older windows folder to the new one. Delphi 2007 x Windows 10 - Error on opening project. Unable to load project xxxxx The imported project "c:\Windows\Microsft.NET\Borland.Delphi.Targets" was not found. Confirm that the path declaration is correct, and that file exists on disk. You need to copy some files in your old Windows folder to the new one.

I suspect that you've done an in-place upgrade of Windows. That is probably not compatible with your Delphi installation. Specifically the msbuild target files that you identified in your answer.

But there may well be more issues than this. I recommend performing a repair install of your Delphi. I believe that will bring the Delphi installation into line with the new OS. If you are at all paranoid about in-place upgrades and repair installs then you might contemplate a full Delphi re-installation.

Delphi 2007 x Windows 10 - Error on opening project, Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error : Unable to load project xxxxx The imported​  Просто обновлено с Windows 8.1 до Windows 10, и теперь, когда я пытаюсь открыть любой проект на Delphi 2007, я получаю его ошибку: Невозможно загрузить проект xxxxx Импортируемый проект «c: \ Windows \ Microsft.NET

Delphi 2007 x Windows 10 - Error on opening project, Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error : Unable to load project xxxxx The imported​  As for Delphi 7 itself it might crash when trying to open your project forms that include incompatible components. If the latter happens try to prevent Windows 10 from installing the cumulative updates. For that you can use MS's wushowhide.diagcab Did this solve your problem?

Delphi 2007 x Windows 10 - Error on opening project -, just updated windows 8.1 windows 10 , when try open project on delphi 2007, error : unable load project xxxxx imported project "c:\windows\microsft.net. Andy's Blog – For all developers that got stuck at Delphi 2007 and who want to upgrade to Windows 10 can now use the special “Windows 10 Edition” of IDE Fix Pack 4.4 for Delphi 2007. The “Windows 10 Edition” also supports Windows 8.1. Requirement: Delphi 2007 December Update.

Delphi 2007 – when you lost your Borland.*.Targets file during a , When upgrading Windows, it will create a fully new %windir% for you. [​WayBack] Delphi 2007 x Windows 10 – Error on opening project  I opened up my old Delphi 6 machine which had a copy of Delphi 2007 installed. In the c:\windows\Microsoft.net\framework\v2.0.50727 folder were 4 xxx.Targets files which I copied into the same folder on my current development machine and now Delphi 2007 works again. Thanks for looking Philip L Jackson

Delphi 2007 x Windows 10, Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error : Unable to load project xxxxx The imported​  delphirules. Delphi is dead but still rocks. delphi-2007. Score 41. Posts 38. tchromium. Score 9. Posts 18. chromium-embedded. Score 9. 20 Delphi 2007 x

Comments
  • Did you check the path? Did you find the mentioned project there?
  • How did you update on Windows 10? If you didn't reinstall windows, it's likely that Win10 was installed in C:\Windows\` while your old windows directory has been moved to C:\Windows.old\`.
  • I just downloaded the ISO and follow the update instructions on screen. Anyway, i've just found the solution in the link on the answer.
  • My Delphi 2007 compile project ok but if I want run with debugger from time to time hangup and software not start. Finally returned to win 8.1
  • Note: You can also get this issue when moving from one Windows 10 release to another. I got it moving from 1703 to 1803
  • Please summarize the solution here. Stack Overflow does not abide link-only answers.
  • So we can just copy any files? Or does it matter which ones. Please make more effort.
  • I've found these files on C:\ProgramData\{B59CE2E6-B15A-4F23-BD0E-72BF2ADDC3C7}\core\7EFD2DA3\6C948720. After coping in c:\windows\Microsoft.NET\Framework\v2.0.50727\ it seems all is working fine
  • Had the same problem after the Win10 anniversary update. Here too the files are found in c:\Windows.old, so your solution fixed it. We should note however that the Windows.old directory is automatically deleted after a couple of days. For the intial Win10 this seemed to be 28 days, for the anniversary update I was told it's only 10 days!
  • With a recent update on Windows 10 this happened again and I found this post, searched my HDD for the files and copied it over. All workig well. Thank you.
  • Thanks but after copying the files detailed in my answer, everything seems to be working fine.
  • Maybe so. I'm just offering an alternative that I suspect is more robust.
  • Probably but i would need hours and hours to setup all my IDE, updates and third-part components again... Will sticky with this upgrade for some time, if more problems show up i will follow your advice. Thanks anyway ;)
  • A repair install doesn't require any of that.