forked from sq/JSIL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.NET 4.5.targets
28 lines (23 loc) · 1.4 KB
/
.NET 4.5.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Project
DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Change the target framework to 4.5 if using the ".NET 4.5" configuration -->
<PropertyGroup Condition=" '$(Platform)' == '.NET 4.5 AnyCPU' ">
<DefineConstants Condition="'$(DefineConstants)'==''">TARGETTING_FX_4_5</DefineConstants>
<DefineConstants Condition="'$(DefineConstants)'!='' and '$(DefineConstants)'!='TARGETTING_FX_4_5'">$(DefineConstants);TARGETTING_FX_4_5</DefineConstants>
<PlatformTarget>Any CPU</PlatformTarget>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == '.NET 4.5 x86' ">
<DefineConstants Condition="'$(DefineConstants)'==''">TARGETTING_FX_4_5</DefineConstants>
<DefineConstants Condition="'$(DefineConstants)'!='' and '$(DefineConstants)'!='TARGETTING_FX_4_5'">$(DefineConstants);TARGETTING_FX_4_5</DefineConstants>
<PlatformTarget>x86</PlatformTarget>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<!-- Add .NET 4.5 as an available platform -->
<PropertyGroup>
<AvailablePlatforms>$(AvailablePlatforms),.NET 4.5 AnyCPU,.NET 4.5 x86</AvailablePlatforms>
</PropertyGroup>
<!-- Import the standard C# targets -->
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>