Changeset 15236


Ignore:
Timestamp:
07/13/17 17:13:46 (2 months ago)
Author:
jkarder
Message:

#2592: fixed project file

  • switched target framework from .NET 4.5.2 to 4.5
  • added pre build event for mono builds
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/HeuristicLab.Algorithms.MOCMAEvolutionStrategy-3.3.csproj

    r15180 r15236  
    1010    <RootNamespace>HeuristicLab.Algorithms.MOCMAEvolutionStrategy</RootNamespace>
    1111    <AssemblyName>HeuristicLab.Algorithms.MOCMAEvolutionStrategy-3.3</AssemblyName>
    12     <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
     12    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    1313    <FileAlignment>512</FileAlignment>
    1414  </PropertyGroup>
     
    170170  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    171171  <PropertyGroup>
    172     <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     172    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    173173set ProjectDir=$(ProjectDir)
    174174set SolutionDir=$(SolutionDir)
     
    176176
    177177call PreBuildEvent.cmd
     178    </PreBuildEvent>
     179    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     180export ProjectDir=$(ProjectDir)
     181export SolutionDir=$(SolutionDir)
    178182
    179 
    180 </PreBuildEvent>
     183$SolutionDir/PreBuildEvent.sh
     184    </PreBuildEvent>
    181185  </PropertyGroup>
    182186  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset for help on using the changeset viewer.