Browse Source

Added check for CI to make builds more sane

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
6ddf5950aa
2 changed files with 12 additions and 6 deletions
  1. +5
    -2
      IPA.Injector/IPA.Injector.csproj
  2. +7
    -4
      IPA.Loader/IPA.Loader.csproj

+ 5
- 2
IPA.Injector/IPA.Injector.csproj View File

@ -13,6 +13,9 @@
<Deterministic>true</Deterministic> <Deterministic>true</Deterministic>
<PathMap>$(SolutionDir)=C:\</PathMap> <PathMap>$(SolutionDir)=C:\</PathMap>
<DebugType>portable</DebugType> <DebugType>portable</DebugType>
<ShowTargetFrameworks>false</ShowTargetFrameworks>
<ShowTargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' Or '$(CI)' == 'True' ">true</ShowTargetFrameworks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -31,12 +34,12 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net4' "> <PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net461</TargetFrameworks>
<TargetFrameworks Condition=" '$(ShowTargetFrameworks)' == 'true' ">net461</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET4</DefineConstants> <DefineConstants>$(DefineConstants);NET4</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net3' "> <PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net35</TargetFrameworks>
<TargetFrameworks Condition=" '$(ShowTargetFrameworks)' == 'true' ">net35</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET3</DefineConstants> <DefineConstants>$(DefineConstants);NET3</DefineConstants>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>


+ 7
- 4
IPA.Loader/IPA.Loader.csproj View File

@ -13,6 +13,9 @@
<Deterministic>true</Deterministic> <Deterministic>true</Deterministic>
<PathMap>$(SolutionDir)=C:\</PathMap> <PathMap>$(SolutionDir)=C:\</PathMap>
<DebugType>portable</DebugType> <DebugType>portable</DebugType>
<ShowTargetFrameworks>false</ShowTargetFrameworks>
<ShowTargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' Or '$(CI)' == 'True' ">true</ShowTargetFrameworks>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -35,13 +38,13 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net4' "> <PropertyGroup Condition=" '$(Platform)' == 'Net4' ">
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net461</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET4</DefineConstants>
<TargetFrameworks Condition=" '$(ShowTargetFrameworks)' == 'true' ">net461</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET4</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'Net3' "> <PropertyGroup Condition=" '$(Platform)' == 'Net3' ">
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworks Condition=" '$(BuildingInsideVisualStudio)' != 'true' ">net35</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET3</DefineConstants>
<TargetFrameworks Condition=" '$(ShowTargetFrameworks)' == 'true' ">net35</TargetFrameworks>
<DefineConstants>$(DefineConstants);NET3</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<DocumentationFile>$(OutputPath)IPA.Loader.xml</DocumentationFile> <DocumentationFile>$(OutputPath)IPA.Loader.xml</DocumentationFile>


Loading…
Cancel
Save