0

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"

user1238784
  • 2,250
  • 3
  • 22
  • 41
  • Don't you have that folder configured as a unit output directory, or a package output directory in its project options ? – TLama Dec 26 '13 at 18:50
  • @TLama no it does not appear under the unit output or the package output. – user1238784 Dec 26 '13 at 18:52
  • This is puzzling to me, irst time it ever happened. Is there any way I can search for the path inside the project options? Or maybe is it possible that the package is still pointing to some previous compilation files (Though I have deleted all bpl and dcp and dcu files – user1238784 Dec 26 '13 at 19:09
  • I wonder why this has been voted down. It was a legitimate question. – user1238784 Dec 27 '13 at 14:51
  • 1
    There are just "random" downvoters... – TLama Dec 27 '13 at 14:52

1 Answers1

0

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.

user1238784
  • 2,250
  • 3
  • 22
  • 41