Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Directory.Build.props 2.43 KiB
Newer Older
  • Learn to ignore specific revisions
  • <Project>
      <PropertyGroup>
    
        <!-- For a Release-Candidate uncomment the following line: -->
    
        <DefineConstants>RELEASE_CANDIDATE</DefineConstants> 
    
        <!-- For a Release uncomment the following line: -->
    
        <!--<DefineConstants>CERTIFICATION_RELEASE</DefineConstants>-->
    
    
        <!-- Global VECTO Version -->
    
        <MainProductVersion>4.2.0</MainProductVersion>
        <VersionSuffix>RC</VersionSuffix> 
    
        <!-- The following settings are used as default values for ALL projects -->
    
        <Days>$([System.DateTime]::UtcNow.Subtract($([System.DateTime]::new(2015,1,1))).Days)</Days>
        <VersionPrefix>$(MainProductVersion).$(Days)</VersionPrefix>
    
    
        <Authors>Graz University of Technology</Authors>
        <Company>European Union</Company>
        <Copyright>Copyright © 2012-$([System.DateTime]::UtcNow.Year)</Copyright>
    
        <!-- Set to true for VectoCore to fix Ninject version conflicts-->
    
        <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    
        <DisableDiagnosticTracing>true</DisableDiagnosticTracing>
    
        <RemoveIntegerChecks>true</RemoveIntegerChecks>
        <DebugType>none</DebugType>
        <WarningLevel>5</WarningLevel>
        <DebugSymbols>false</DebugSymbols>
    
      </PropertyGroup>
    
    
      <PropertyGroup Condition="$(DefineConstants.Contains('RELEASE_CANDIDATE'))">
        <VersionSuffix>RC</VersionSuffix>
      </PropertyGroup>
      <PropertyGroup Condition="$(DefineConstants.Contains('CERTIFICATION_RELEASE'))">
        <VersionSuffix></VersionSuffix>
      </PropertyGroup>
    
    
      <PropertyGroup Condition="'$(Configuration)'=='Debug'">
    
        <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    
        <RemoveIntegerChecks>false</RemoveIntegerChecks>
    
        <WarningLevel>5</WarningLevel>
        <DebugType>pdbonly</DebugType>
    
        <DebugSymbols>true</DebugSymbols>
        <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
      </PropertyGroup>
    
    
      <PropertyGroup Condition="'$(Configuration)'=='Release' Or '$(Configuration)'=='Deploy'">
        <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
        <RemoveIntegerChecks>true</RemoveIntegerChecks>
        <WarningLevel>1</WarningLevel>
        <DebugType>none</DebugType>
        <DebugSymbols>false</DebugSymbols>
        <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
      </PropertyGroup>
    
    
      <PropertyGroup Condition="'$(Configuration)'=='MockupDeploy'">
        <VersionSuffix>Mockup</VersionSuffix>
      </PropertyGroup>
    
    </Project>