Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/18 01:42:07 (6 years ago)
Author:
swagner
Message:

#2877: Generalized MergeConfigs scripts, cleaned app.config files, corrected post-build events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2877_HiveImprovements/HeuristicLab.Clients.Hive.Slave.ConsoleClient/3.3/HeuristicLab.Clients.Hive.Slave.ConsoleClient-3.3.csproj

    r11623 r15660  
    103103    <Compile Include="Program.cs" />
    104104    <Compile Include="Properties\AssemblyInfo.cs" />
     105    <None Include="app.config">
     106      <SubType>Designer</SubType>
     107    </None>
    105108    <None Include="Properties\AssemblyInfo.cs.frame" />
    106109    <Compile Include="SlaveCommListener.cs" />
     
    112115      <Private>True</Private>
    113116    </ProjectReference>
    114   </ItemGroup>
    115   <ItemGroup>
    116     <None Include="app.config">
    117       <SubType>Designer</SubType>
    118     </None>
    119117  </ItemGroup>
    120118  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
     
    133131</PreBuildEvent>
    134132  </PropertyGroup>
     133  <PropertyGroup>
     134    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     135set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     136set ProjectDir=$(ProjectDir)
     137set SolutionDir=$(SolutionDir)
     138set OutDir=$(OutDir)
     139set TargetDir=$(TargetDir)
     140set TargetPath=$(TargetPath)
     141set Platform=$(PlatformName)
     142set Configuration=$(ConfigurationName)
     143
     144call "$(SolutionDir)MergeConfigs.cmd"
     145    </PostBuildEvent>
     146    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     147export ProjectDir=$(ProjectDir)
     148export SolutionDir=$(SolutionDir)
     149export OutDir=$(OutDir)
     150export TargetDir=$(TargetDir)
     151export TargetPath=$(TargetPath)
     152export Platform=$(PlatformName)
     153export Configuration=$(ConfigurationName)
     154
     155$SolutionDir/MergeConfigs.sh
     156</PostBuildEvent>
     157  </PropertyGroup>
    135158  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    136159       Other similar extension points exist, see Microsoft.Common.targets.
Note: See TracChangeset for help on using the changeset viewer.