Autor Beitrag
NOS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 183
Erhaltene Danke: 2

Win XP, Win Vista Ultimate, Win 7 Ultimate
Delphi 19.4 - Sydney
BeitragVerfasst: Mo 26.11.18 17:46 
Hallo,

ich versuche aus einer Batchdatei mit folgendem Code

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
@SET BDS=D:\Program Files (x86)\Embarcadero\Studio\19.0
@SET BDSINCLUDE=D:\Program Files (x86)\Embarcadero\Studio\19.0\include
@SET FrameworkDir=C:\Windows\Microsoft.NET\Framework\v4.0.30319
@SET FrameworkVersion=4.7.3190.0
@SET PATH=%FrameworkDir%;%FrameworkSDKDir%;d:\Program Files (x86)\Embarcadero\Studio\19.0\bin;d:\Program Files (x86)\Embarcadero\Studio\19.0\bin64;%PATH%
@SET LANGDIR=EN
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "E:\Projekte\TestProjekt\TestProjekt.dpr" /t:build /p:config=Release >> "E:\Projekte\TestProjekt\CompileBatch.log"


das Delphiprojekt zu compilieren. Im LOG des Compiles steht dann das hier und ich habe nicht die leiseste Ahnung warum das so ist und wo das Problem liegt.

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
Microsoft (R)-Buildmodul, Version 4.7.3190.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 26.11.2018 16:35:59 gestartet.
Projekt "E:\Projekte\TestProjekt\TestProjekt.dpr" auf Knoten "1", build Ziel(e).
E:\Projekte\TestProjekt\TestProjekt.dpr(1,1): error MSB4025: Die Projektdatei konnte nicht geladen werden. Ungltige Daten auf Stammebene. Zeile 1, Position 1.
Die Erstellung des Projekts "E:\Projekte\TestProjekt\TestProjekt.dpr" ist abgeschlossen, build Ziel(e) -- FEHLER.

Fehler beim Buildvorgang.

"E:\Projekte\TestProjekt\TestProjekt.dpr" (build Ziel) (1) ->
  E:\Projekte\TestProjekt\TestProjekt.dpr(1,1): error MSB4025: Die Projektdatei konnte nicht geladen werden. Ungltige Daten auf Stammebene. Zeile 1, Position 1.

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.01


Hier auch noch der Anfang der Projektdatei
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <ProjectGuid>{2EDB9612-15BE-426F-B0B4-00936C59984E}</ProjectGuid>
        <ProjectVersion>18.4</ProjectVersion>
        <FrameworkType>VCL</FrameworkType>
        <MainSource>TestProjekt.dpr</MainSource>
        <Base>True</Base>
        <Config Condition="'$(Config)'==''">Debug</Config>
        <Platform Condition="'$(Platform)'==''">Win32</Platform>
        <TargetedPlatforms>1</TargetedPlatforms>
        <AppType>Application</AppType>
    </PropertyGroup>


Habt Ihr da Erfahrungen mit oder eine Idee?

Grüße ins Forum,

Andreas
NOS Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 183
Erhaltene Danke: 2

Win XP, Win Vista Ultimate, Win 7 Ultimate
Delphi 19.4 - Sydney
BeitragVerfasst: Mo 26.11.18 18:00 
Sorry .... ich sollte mehr schlafen glaube ich .... besser ich nutze mal die .dproj zum compilen ;-) .....