delphi - Ide attempts to load package from a wrong location -


i've made little design package , installed in ide (delphi xe8).

this package defines new kind of button used on intraweb forms. i've compiled , installed component, , tested test application.

it works perfectly.

then have big application, made of several packages belonging project group, in several pages use such new button.

sometimes (not always), open project group of app, ide complains cannot find package.dcp, tries open desktop (c:\users\maurizio.ferreira\desktop\newbutton.dcp) instead of opening resides (c:\users\public\documents\embarcadero\studio\16.0\dcp\newbutton.dcp)

when happens, have close projet group, reopen component project, build , reinstall it, close it, reopen project group.

any suggestion ?

!!!! i've found !!!!

i had package (newbutton.pkg) same name of unit (newbutton.pas) contained in package.

(this should forbidden, or, @ least, raise warning).

this confuses ide when open project uses such component.

i solved problem renaming, rebuilding , reinstalling package.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -