|
19 | 19 | <DebugType>full</DebugType> |
20 | 20 | <Optimize>false</Optimize> |
21 | 21 | <OutputPath>bin\Debug\</OutputPath> |
22 | | - <DefineConstants>TRACE;DEBUG</DefineConstants> |
| 22 | + <DefineConstants>TRACE;DEBUG;NET40</DefineConstants> |
23 | 23 | <ErrorReport>prompt</ErrorReport> |
24 | 24 | <WarningLevel>4</WarningLevel> |
25 | 25 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|
29 | 29 | <DebugType>pdbonly</DebugType> |
30 | 30 | <Optimize>true</Optimize> |
31 | 31 | <OutputPath>bin\Release\</OutputPath> |
32 | | - <DefineConstants>TRACE</DefineConstants> |
| 32 | + <DefineConstants>TRACE;NET40</DefineConstants> |
33 | 33 | <ErrorReport>prompt</ErrorReport> |
34 | 34 | <WarningLevel>4</WarningLevel> |
35 | 35 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
38 | 38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-Net45|AnyCPU'"> |
39 | 39 | <DebugSymbols>true</DebugSymbols> |
40 | 40 | <OutputPath>bin\Debug-Net45\</OutputPath> |
41 | | - <DefineConstants>TRACE;DEBUG</DefineConstants> |
| 41 | + <DefineConstants>TRACE;DEBUG;NET45</DefineConstants> |
42 | 42 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
43 | 43 | <DebugType>full</DebugType> |
44 | 44 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
48 | 48 | </PropertyGroup> |
49 | 49 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Net45|AnyCPU'"> |
50 | 50 | <OutputPath>bin\Release-Net45\</OutputPath> |
51 | | - <DefineConstants>TRACE</DefineConstants> |
| 51 | + <DefineConstants>TRACE;NET45</DefineConstants> |
52 | 52 | <Optimize>true</Optimize> |
53 | 53 | <DebugType>pdbonly</DebugType> |
54 | 54 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
167 | 167 | </ItemGroup> |
168 | 168 | <ItemGroup> |
169 | 169 | <None Include="app.config" /> |
| 170 | + </ItemGroup> |
| 171 | + <ItemGroup Condition=" '$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'"> |
170 | 172 | <None Include="packages.config" /> |
171 | 173 | </ItemGroup> |
| 174 | + <ItemGroup Condition=" '$(Configuration)'=='Debug-Net45' Or '$(Configuration)'=='Release-Net45'"> |
| 175 | + <None Include="packages-Net45.config" /> |
| 176 | + </ItemGroup> |
172 | 177 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
173 | 178 | <Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" /> |
174 | 179 | <Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''"> |
|
0 commit comments