Borland.Delphi.Targets was not found

Applied to Delphi 2007/2009, Windows 8.1/10/11
Borland.Delphi.Targets was not found
Error
Unable to load project ... .dproj The imported project "C:\Windows\ Microsoft.NET \F…\Borland.Delphi.Targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
... .dproj
There are a lot of topics in the Internet containing the error message
The imported project "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Borland. Delphi.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
RAD keeps the copies of Targets files in the
"C:\ProgramData\{B59CE2E6-B15A-4F23-BD0E-72BF2ADDC3C7}\core\7EFD2DA3\6C948720\"
directory, and they can be copied to
"C:\Windows\Microsoft.NET\Framework\v2.0.50727\"
("C:\Windows\Microsoft.NET\Framework64\v2.0.50727\") /
sometimes to
"C:\Windows\Microsoft.NET\Framework\v4.0.30319"
("C:\Windows\Microsoft.NET\Framework64\v4.0.30319")
if absent.

But error can still exist!
The matter to give "Full control" to "ALL APPLICATION PACKAGES" ("Все пакеты приложений") for the "C:\Windows\Microsoft.NET\" directory.


Note:
"ALL APPLICATION PACKAGES" ("Все пакеты приложений"), appeared with WIN 8.
SID - ALL_APP_PACKAGES
The All Application Packages group is a well-known group with a predefined SID. The group must have specific access to certain locations of the registry and file system for Microsoft Store Apps to function properly.

There is a more clumsy ways to fix this error.
Find the line <Import Project="$(MSBuildBinPath)\Borland.Delphi.Targets" /> in project file .dproj. This line is located about at the end of file.
Replace the value "$(MSBuildBinPath)\Borland.Delphi.Targets" with full path to file, for instance: "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets"
Note:
Directory "C:\Windows\Microsoft.NET\Framework\v2.0.50727"
stands for .NET Framework, Version 2.0, Visual Studio Version 2005
Directory "C:\Windows\Microsoft.NET\Framework\v4.0.30319"
stands for .NET Framework, Version 4.0/4.5.2, Visual Studio Version 2010/2012
or launch the Delphi as Adminnistrator. As a more permanent solution, change the shortcut's properties to always run as administrator.

Embarcadero Delphi Programming Basics. In Russian

Embarcadero Delphi Programming Basics. In Russian. Основы программирования в Embarcadero Delphi
Культин Никита Борисович, кандидат технических наук, доцент Санкт-Петербургского политехнического университета Петра Великого, читает лекции и ведет практические занятия по дисциплинам: Управление инновационными проектами, Экономика и финансовое обеспечение инновационной деятельности, Управление программными проектами; один из разработчиков федерального государственного образовательного стандарта высшего образования по направлению «Инноватика», преподаватель Президентской программы подготовки управленческих кадров для предприятий народного хозяйства РФ, автор более 50 научных работ и учебно-методических пособий.
    Из замеченных ляпов:
  1. стр.45. Build with runtime packages, а в настройках Link with runtime packages
  2. стр.123. p := StrUtils.PosEx должно быть p := PosEx
  3. стр.213. DataEdi1 := System.SysUtils.Date; должно быть DateEdit1.Date := System.SysUtils.Date;
  4. стр.217. Longetude должно быть Longitude
Принимая во внимание качество информации в издании и количество его книг на BHV - Автор: Культин Никита Борисович, это - не графомания, а инфоцыганщина какая-то