-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.build.props
28 lines (25 loc) · 1.31 KB
/
Directory.build.props
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>
<ItemGroup >
<Using Include="System" />
<Using Include="System.Linq" />
<Using Include="System.Data" />
<Using Include="System.Collections" />
<Using Include="System.Threading.Tasks" />
<Using Include="System.Collections.Generic" />
<Using Include="Avhrm.Tools" />
<Using Include="Avhrm.Tools.Resources" />
</ItemGroup>
<PropertyGroup>
<BlazorMode>BlazorServer</BlazorMode>
<!-- You can use either BlazorServer, BlazorHybrid -->
<DefineConstants Condition=" '$(BlazorMode)' == 'BlazorServer' ">$(DefineConstants);BlazorServer</DefineConstants>
<DefineConstants Condition=" '$(BlazorMode)' == 'BlazorHybrid' ">$(DefineConstants);BlazorHybrid</DefineConstants>
<DefineConstants Condition=" $(TargetFramework.Contains('-android')) ">$(DefineConstants);Android</DefineConstants>
<DefineConstants Condition=" $(TargetFramework.Contains('-ios')) ">$(DefineConstants);iOS</DefineConstants>
<DefineConstants Condition=" $(TargetFramework.Contains('-windows')) ">$(DefineConstants);Windows</DefineConstants>
<DefineConstants Condition=" $(TargetFramework.Contains('-mac')) ">$(DefineConstants);Mac</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="!'$(MSBuildProjectName.Contains(`Avhrm.Tools`))'">
<ProjectReference Include="..\Avhrm.Tools\Avhrm.Tools.csproj" />
</ItemGroup>
</Project>