Einzelnen Beitrag anzeigen

SearchBot

Registriert seit: 27. Jun 2004
Ort: N-W vom Bodensee
272 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

AW: Versionsinformationen verlieren sich ?! / Berlin 10.1

  Alt 8. Jun 2016, 12:42
Hm... ich habe es etwas anonymisiert

Aber wenn ich die selber so lese, kann ich vielleicht es leicht selber fixen, da stehen verschiedene PropertyGroups drin
Kann es sein, daß die neue IDE die Projektangaben etwas durcheinanderbringt?

Selbst wenn die Versionsangaben in der Tabelle eingetragen sind, werden die Felder für die Versionsnummer nicht korrekt eingestellt (stehen dann immer auf "1.0.0.0").

Delphi-Quellcode:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <ProjectGuid>{5D24E3CD-5056-4270-8A46-64BC6900C876}</ProjectGuid>
        <ProjectVersion>18.1</ProjectVersion>
        <MainSource>PPP.dpr</MainSource>
        <Basis>True</Basis>
        <Config Condition="'$(Config)'==''">Debug</Config>
        <AppType>Application</AppType>
        <FrameworkType>VCL</FrameworkType>
        <DCC_DCCCompiler>DCC32</DCC_DCCCompiler>
        <Base>True</Base>
        <Platform Condition="'$(Platform)'==''">Win32</Platform>
        <TargetedPlatforms>1</TargetedPlatforms>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Config)'=='Baseor '$(Base)'!=''">
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="('$(Platform)'=='Win32and '$(Base)'=='true') or '$(Base_Win32)'!=''">
        <Base_Win32>true</Base_Win32>
        <CfgParent>Base</CfgParent>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="('$(Platform)'=='Win64and '$(Base)'=='true') or '$(Base_Win64)'!=''">
        <Base_Win64>true</Base_Win64>
        <CfgParent>Base</CfgParent>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Config)'=='Debugor '$(Cfg_1)'!=''">
        <Cfg_1>true</Cfg_1>
        <CfgParent>Base</CfgParent>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="('$(Platform)'=='Win32and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
        <Cfg_1_Win32>true</Cfg_1_Win32>
        <CfgParent>Cfg_1</CfgParent>
        <Cfg_1>true</Cfg_1>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Config)'=='Releaseor '$(Cfg_2)'!=''">
        <Cfg_2>true</Cfg_2>
        <CfgParent>Base</CfgParent>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="('$(Platform)'=='Win32and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
        <Cfg_2_Win32>true</Cfg_2_Win32>
        <CfgParent>Cfg_2</CfgParent>
        <Cfg_2>true</Cfg_2>
        <Base>true</Base>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Base)'!=''">
        <Custom_Styles>Sky|VCLSTYLE|$(BDSCOMMONDIR)\Styles\Sky.vsf</Custom_Styles>
        <VerInfo_MajorVer>2</VerInfo_MajorVer>
        <VerInfo_Build>74</VerInfo_Build>
        <VerInfo_MinorVer>4</VerInfo_MinorVer>
        <VerInfo_Release>1</VerInfo_Release>
        <VerInfo_Locale>1031</VerInfo_Locale>
        <SanitizedProjectName>PPP</SanitizedProjectName>
        <DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;VclTee;$(DCC_Namespace)</DCC_Namespace>
        <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
        <VerInfo_Keys>CompanyName=*****;FileDescription=*****;FileVersion=2.4.1.74;InternalName=PPP;LegalCopyright=2015-2016;LegalTrademarks=*****;OriginalFilename=PPP;ProductName=PPP;ProductVersion=lizensiert;Comments=*** alte Delphi XE-Angaben ***</VerInfo_Keys>
        <DCC_UsePackage>vclx;vcl;vclimg;dbrtl;Rave90VCL;bdertl;VclSmp;rtl;svnui;svn;TeeUI;Tee;TeeDB;vclactnband;vcltouch;xmlrtl;IndyCore;IndySystem;IndyProtocols;inet;intrawebdb_110_150;Intraweb_110_150;vclie;inetdbbde;inetdbxpress;vclribbon;dsnap;dbexpress;DbxCommonDriver;DbxClientDriver;AzureCloud;DBXInterBaseDriver;DBXMySQLDriver;vcldb;TMSSmoothControlsPackPkgD2011;Wichtiges;GLScene_RunTime;Package1;JclDeveloperTools;Jcl;JclVcl;JclContainers;OverbyteIcsDXeRun;mftp;ZMstr190D15;pageextctrl;SerialNG_XE;CPortLibDXE;$(DCC_UsePackage)</DCC_UsePackage>
        <DCC_ImageBase>00400000</DCC_ImageBase>
        <DCC_DcuOutput>.\$(Config)\$(Platform)</DCC_DcuOutput>
        <DCC_ExeOutput>.\$(Config)\$(Platform)</DCC_ExeOutput>
    </PropertyGroup>
    <Import Project="ppp_alle.optset" Condition="'$(Base_Win32)'!='And Exists('ppp_alle.optset')"/>
    <PropertyGroup Condition="'$(Base_Win32)'!=''">
        <VerInfo_MinorVer>0</VerInfo_MinorVer>
        <VerInfo_MajorVer>1</VerInfo_MajorVer>
        <VerInfo_Build>0</VerInfo_Build>
        <VerInfo_Release>0</VerInfo_Release>
        <DCC_Namespace>Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
        <CfgDependentOn>ppp_alle.optset</CfgDependentOn>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Base_Win64)'!=''">
        <Icon_MainIcon>PPP_Icon.ico</Icon_MainIcon>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Cfg_1)'!=''">
        <DCC_RemoteDebug>true</DCC_RemoteDebug>
        <BRCC_IncludePath> ***** Pfadangaben von Delphi XE ***** </BRCC_IncludePath>
        <DCC_UnitSearchPath> ***** Pfadangaben von Delphi XE ***** </DCC_UnitSearchPath>
        <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
        <DCC_Optimize>false</DCC_Optimize>
        <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
        <VerInfo_Locale>1033</VerInfo_Locale>
        <Icon_MainIcon>PPP_Icon.ico</Icon_MainIcon>
        <Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
        <VerInfo_Keys>CompanyName=*****;FileDescription=*****;FileVersion=2.4.1.74;InternalName=ppp;LegalCopyright=2015-2016;LegalTrademarks=*****;OriginalFilename=ppp.exe;ProductName=PPP;ProductVersion=2.4;Comments=</VerInfo_Keys>
        <AppEnableHighDPI>true</AppEnableHighDPI>
        <AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Cfg_2)'!=''">
        <DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
        <DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
        <DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
        <DCC_DebugInformation>0</DCC_DebugInformation>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
        <VerInfo_Locale>1033</VerInfo_Locale>
        <Icon_MainIcon>PPP_Icon.ico</Icon_MainIcon>
        <Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
        <VerInfo_Keys>CompanyName=*****;FileDescription=*****;FileVersion=2.4.1.74;InternalName=ppp;LegalCopyright=2015-2016;LegalTrademarks=*****;OriginalFilename=ppp.exe;ProductName=PPP;ProductVersion=2.4;Comments=Release</VerInfo_Keys>
        <AppEnableHighDPI>true</AppEnableHighDPI>
        <AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
    </PropertyGroup>
    <ItemGroup>
        <DelphiCompile Include="$(MainSource)">
            <MainSource>MainSource</MainSource>
        </DelphiCompile>
        <DCCReference Include="Unit1.pas">
            <Form>Form1</Form>
        </DCCReference>
        <DCCReference Include="Unit2.pas">
            <Form>Form2</Form>
        </DCCReference>
        <DCCReference Include="Unit3.pas">
            <Form>Form3</Form>
        </DCCReference>
        <DCCReference Include="UnitENA.pas"/>
        <BuildConfiguration Include="Release">
            <Key>Cfg_2</Key>
            <CfgParent>Base</CfgParent>
        </BuildConfiguration>
        <BuildConfiguration Include="Base">
            <Key>Base</Key>
        </BuildConfiguration>
        <BuildConfiguration Include="Debug">
            <Key>Cfg_1</Key>
            <CfgParent>Base</CfgParent>
        </BuildConfiguration>
    </ItemGroup>
    <Import Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')" Project="$(BDS)\Bin\CodeGear.Delphi.Targets"/>
    <Import Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')" Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj"/>
    <ProjectExtensions>
        <Borland.Personality>Delphi.Personality.12</Borland.Personality>
        <Borland.ProjectType/>
        <BorlandProject>
            <Delphi.Personality>
                <VersionInfo>
                    <VersionInfo Name="IncludeVerInfo">True</VersionInfo>
                    <VersionInfo Name="AutoIncBuild">False</VersionInfo>
                    <VersionInfo Name="MajorVer">2</VersionInfo>
                    <VersionInfo Name="MinorVer">4</VersionInfo>
                    <VersionInfo Name="Release">1</VersionInfo>
                    <VersionInfo Name="Build">74</VersionInfo>
                    <VersionInfo Name="Debug">False</VersionInfo>
                    <VersionInfo Name="PreRelease">False</VersionInfo>
                    <VersionInfo Name="Special">False</VersionInfo>
                    <VersionInfo Name="Private">False</VersionInfo>
                    <VersionInfo Name="DLL">False</VersionInfo>
                    <VersionInfo Name="Locale">1031</VersionInfo>
                    <VersionInfo Name="CodePage">1252</VersionInfo>
                </VersionInfo>
                <VersionInfoKeys>
                    <VersionInfoKeys Name="CompanyName">*****</VersionInfoKeys>
                    <VersionInfoKeys Name="FileDescription">*****</VersionInfoKeys>
                    <VersionInfoKeys Name="FileVersion">2.4.1.74</VersionInfoKeys>
                    <VersionInfoKeys Name="InternalName">PPP</VersionInfoKeys>
                    <VersionInfoKeys Name="LegalCopyright">2015-2016</VersionInfoKeys>
                    <VersionInfoKeys Name="LegalTrademarks">*****</VersionInfoKeys>
                    <VersionInfoKeys Name="OriginalFilename">PPP</VersionInfoKeys>
                    <VersionInfoKeys Name="ProductName">PPP</VersionInfoKeys>
                    <VersionInfoKeys Name="ProductVersion">lizensiert</VersionInfoKeys>
                    <VersionInfoKeys Name="Comments">*** Diese Angaben wurden im Delphi XE eingetragen ***</VersionInfoKeys>
                </VersionInfoKeys>
                <Excluded_Packages>
                    <Excluded_Packages Name="$(BDSBIN)\dcloffice2k240.bpl">Microsoft Office 2000 Beispiele für gekapselte Komponenten für Automatisierungsserver</Excluded_Packages>
                    <Excluded_Packages Name="$(BDSBIN)\dclofficexp240.bpl">Microsoft Office XP Beispiele für gekapselte Komponenten für Automation Server</Excluded_Packages>
                </Excluded_Packages>
                <Source>
                    <Source Name="MainSource">PPP.dpr</Source>
                </Source>
                <Parameters/>
            </Delphi.Personality>
            <Platforms>
                <Platform value="Win32">True</Platform>
                <Platform value="Win64">False</Platform>
            </Platforms>
            <ModelSupport>False</ModelSupport>
        </BorlandProject>
        <ProjectFileVersion>12</ProjectFileVersion>
    </ProjectExtensions>
</Project>
Nebenbei kann ich es auf Win64 durch bestimmte Komponenten garnicht compilieren...

Was könnte ich aus der Datei entfernen, damit es rein für Belin10.1 ist?
  Mit Zitat antworten Zitat