Delphi XE2 compile error: package compiling tries to create directory?

2k Views Asked by At

Why am I getting this error, compiling a package in Delphi XE2 32bits platform:

c:\program files (x86)\embarcadero\rad studio\9.0\Bin\CodeGear.Delphi.Targets(465,5): error MSB3191: Unable to create directory "C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\Import-Export". Access to the path 'C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\Import-Export' is denied.

I found that directory in the package resource directory and conditional search path, and I have removed it from there, but I am still getting this error. Where does it find this path and why does it attempt to create the folder?

This error started to appear when I change the unit output directory to a relative path, that is: "..\source\win32"

1

There are 1 best solutions below

0
On

Problem solved by creating new package and copying the source file of old package. I think some old info was left incorrectly inside the old package.