Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Die Delphi-IDE (https://www.delphipraxis.net/62-die-delphi-ide/)
-   -   Controls.res, / Dialogs.res not found - nicht gefunden (https://www.delphipraxis.net/209015-controls-res-dialogs-res-not-found-nicht-gefunden.html)

bernhard_LA 13. Okt 2021 17:11

Controls.res, / Dialogs.res not found - nicht gefunden
 
unsere DELPHI & JENKINS Buildserver Installation (MS Build) wirft nach einen Update folgende Fehlermeldung bei der Kompilierung von einem Projekt :

Delphi-Quellcode:

C:\Program Files (x86)\Embarcadero\Studio\21.0\Bin\CodeGear.Delphi.Targets(402,5): error E1026: File not found: 'Controls.res'

C:\Program Files (x86)\Embarcadero\Studio\21.0\Bin\CodeGear.Delphi.Targets(402,5): error E1026: File not found: 'Dialogs.res'
da der Code auf lokalen Delphi Installationen läuft, woran liegt es wenn diese beiden *.res Dateien nicht gefunden werden ?
Die anderen ~ 100 Anwendungen werden ohne Probleme kompiliert

himitsu 13. Okt 2021 20:18

AW: Controls.res, / Dialogs.res not found - nicht gefunden
 
Lokal mal manuell die DPROJ mit MSBUILD kompiliert ... kommt da auch dieser Fehler?

Bzw. auf dem BuildServer manuell den DCC32 mit der DPR starten.



Klingt fast so, als fehlt das was in den Suchverzeichnissen.



Ist das ein upgegradedes Delphi-Projekt, aus einer älteren Delphi-Version?

Diese CodeGear.Common.Targets, CodeGear.Delphi.Targets usw. werden über die Projekt-DPROJ (MSBuild-Script) eingebunden.
Und beim Upgrade werden diese Stellen leider nicht richtig angepasst.

Eventuell mal die DPROJ neu generieren lassen.



In Zeile 402 wird der DCC32 (oder eine andere DCC*.exe, je nach Build-Target) aufgerufen und das Projekt kompiliert.
Zitat:

Code:
    <DCC DelphiCompile="$(_ProjectFiles)"
      PlatformTarget="$(DCC_PlatformTarget)"
      ExeOutput="$(DCC_ExeOutput)"
      BplOutput="$(DCC_BplOutput)"
      DcuOutput="$(DCC_DcuOutput)"
      DcpOutput="$(DCC_DcpOutput)"
      HppOutput="$(DCC_HppOutput)"
      ObjOutput="$(DCC_ObjOutput)"
      BpiOutput="$(DCC_BpiOutput)"
      FileReference="@(_InputFiles)"
      ProjectFileName="$(MSBuildProjectFullPath)"
      OutputExt="$(OutputExt)"

      ToolExe="$(DCC_ToolExe)"
      ...



Alle Zeitangaben in WEZ +1. Es ist jetzt 23:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz