Ignore:
Timestamp:
02/12/15 20:23:42 (7 years ago)
Author:
ascheibe
Message:

#2282 fixed output path and prebuild events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Binary/3.3/HeuristicLab.Problems.Binary-3.3.csproj

    r11990 r11993  
    1717    <DebugType>full</DebugType>
    1818    <Optimize>false</Optimize>
    19     <OutputPath>..\..\bin\</OutputPath>
     19    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    2020    <DefineConstants>DEBUG;TRACE</DefineConstants>
    2121    <ErrorReport>prompt</ErrorReport>
     
    2525    <DebugType>pdbonly</DebugType>
    2626    <Optimize>true</Optimize>
    27     <OutputPath>..\..\bin\</OutputPath>
     27    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    2828    <DefineConstants>TRACE</DefineConstants>
    2929    <ErrorReport>prompt</ErrorReport>
     
    3838  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    3939    <DebugSymbols>true</DebugSymbols>
    40     <OutputPath>bin\x64\Debug\</OutputPath>
     40    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    4141    <DefineConstants>DEBUG;TRACE</DefineConstants>
    4242    <DebugType>full</DebugType>
     
    4646  </PropertyGroup>
    4747  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    48     <OutputPath>bin\x64\Release\</OutputPath>
     48    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    4949    <DefineConstants>TRACE</DefineConstants>
    5050    <Optimize>true</Optimize>
     
    5656  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    5757    <DebugSymbols>true</DebugSymbols>
    58     <OutputPath>bin\x86\Debug\</OutputPath>
     58    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    5959    <DefineConstants>DEBUG;TRACE</DefineConstants>
    6060    <DebugType>full</DebugType>
     
    6464  </PropertyGroup>
    6565  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    66     <OutputPath>bin\x86\Release\</OutputPath>
     66    <OutputPath>$(SolutionDir)\bin\</OutputPath>
    6767    <DefineConstants>TRACE</DefineConstants>
    6868    <Optimize>true</Optimize>
     
    149149  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    150150  <PropertyGroup>
    151     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    152 set ProjectDir=$(ProjectDir)
    153 set SolutionDir=$(SolutionDir)
    154 set Outdir=$(Outdir)
     151    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
     152      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     153      set ProjectDir=$(ProjectDir)
     154      set SolutionDir=$(SolutionDir)
     155      set Outdir=$(Outdir)
    155156
    156 call PreBuildEvent.cmd
    157 </PreBuildEvent>
    158   </PropertyGroup>
     157      call PreBuildEvent.cmd
     158    </PreBuildEvent>
     159    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     160      export ProjectDir=$(ProjectDir)
     161      export SolutionDir=$(SolutionDir)
     162
     163      $SolutionDir/PreBuildEvent.sh
     164    </PreBuildEvent>
     165  </PropertyGroup> 
    159166  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    160167       Other similar extension points exist, see Microsoft.Common.targets.
Note: See TracChangeset for help on using the changeset viewer.