Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/18/11 13:55:51 (13 years ago)
Author:
spimming
Message:

#1680: manage multiple app.config files with pre-build event

Location:
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/HeuristicLab.Clients.Hive.Slave.WindowsService-3.3.csproj

    r6983 r7019  
    9494    <StartupObject>HeuristicLab.Clients.Hive.SlaveCore.WindowsService.Program</StartupObject>
    9595  </PropertyGroup>
     96  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLocal|AnyCPU'">
     97    <DebugSymbols>true</DebugSymbols>
     98    <OutputPath>bin\DebugLocal\</OutputPath>
     99    <DefineConstants>DEBUG;TRACE</DefineConstants>
     100    <DebugType>full</DebugType>
     101    <PlatformTarget>AnyCPU</PlatformTarget>
     102    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     103    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     104    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     105    <ErrorReport>prompt</ErrorReport>
     106    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     107    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     108    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     109    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     110    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     111  </PropertyGroup>
     112  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLocal|x86'">
     113    <DebugSymbols>true</DebugSymbols>
     114    <OutputPath>bin\x86\DebugLocal\</OutputPath>
     115    <DefineConstants>DEBUG;TRACE</DefineConstants>
     116    <DebugType>full</DebugType>
     117    <PlatformTarget>x86</PlatformTarget>
     118    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     119    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     120    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     121    <ErrorReport>prompt</ErrorReport>
     122    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     123    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     124    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     125    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     126    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     127  </PropertyGroup>
     128  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLocal|x64'">
     129    <DebugSymbols>true</DebugSymbols>
     130    <OutputPath>bin\x64\DebugLocal\</OutputPath>
     131    <DefineConstants>DEBUG;TRACE</DefineConstants>
     132    <DebugType>full</DebugType>
     133    <PlatformTarget>x64</PlatformTarget>
     134    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     135    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     136    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     137    <ErrorReport>prompt</ErrorReport>
     138    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     139    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     140    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     141    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     142    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     143  </PropertyGroup>
     144  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugServices|AnyCPU'">
     145    <DebugSymbols>true</DebugSymbols>
     146    <OutputPath>bin\DebugServices\</OutputPath>
     147    <DefineConstants>DEBUG;TRACE</DefineConstants>
     148    <DebugType>full</DebugType>
     149    <PlatformTarget>AnyCPU</PlatformTarget>
     150    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     151    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     152    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     153    <ErrorReport>prompt</ErrorReport>
     154    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     155    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     156    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     157    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     158    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     159  </PropertyGroup>
     160  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugServices|x86'">
     161    <DebugSymbols>true</DebugSymbols>
     162    <OutputPath>bin\x86\DebugServices\</OutputPath>
     163    <DefineConstants>DEBUG;TRACE</DefineConstants>
     164    <DebugType>full</DebugType>
     165    <PlatformTarget>x86</PlatformTarget>
     166    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     167    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     168    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     169    <ErrorReport>prompt</ErrorReport>
     170    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     171    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     172    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     173    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     174    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     175  </PropertyGroup>
     176  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugServices|x64'">
     177    <DebugSymbols>true</DebugSymbols>
     178    <OutputPath>bin\x64\DebugServices\</OutputPath>
     179    <DefineConstants>DEBUG;TRACE</DefineConstants>
     180    <DebugType>full</DebugType>
     181    <PlatformTarget>x64</PlatformTarget>
     182    <CodeAnalysisLogFile>bin\Debug\HeuristicLab.Clients.Hive.Slave.WindowsService.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
     183    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
     184    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
     185    <ErrorReport>prompt</ErrorReport>
     186    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     187    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
     188    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
     189    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
     190    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
     191  </PropertyGroup>
    96192  <ItemGroup>
    97193    <Reference Include="HeuristicLab.Clients.Hive-3.3">
     
    118214      <DependentUpon>ProjectInstaller.cs</DependentUpon>
    119215    </Compile>
     216    <None Include="app.config.DebugLocal" />
     217    <None Include="app.config.DebugServices" />
    120218    <None Include="Properties\AssemblyInfo.cs.frame" />
    121219    <Compile Include="SlaveWindowsService.cs">
     
    164262  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    165263  <PropertyGroup>
    166     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     264    <PreBuildEvent>"$(SolutionDir)CopyIfNewer.bat" "$(ProjectDir)app.config.$(ConfigurationName)" "$(ProjectDir)app.config"
     265
     266set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    167267set ProjectDir=$(ProjectDir)
    168268set SolutionDir=$(SolutionDir)
Note: See TracChangeset for help on using the changeset viewer.