delphidelphi-2007windows-10

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 ?


Solution

  • 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 ( C:\Windows.old\Microsoft.NET\Framework\v2.0.50727\ ) to the new one.