-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReactiveUI.ExternalBuild.targets
26 lines (26 loc) · 1.23 KB
/
ReactiveUI.ExternalBuild.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
<Project>
<PropertyGroup>
<!-- Can be replaced by requiring project if needed -->
<ReactiveDir>..\reactive-ui\ReactiveUI\</ReactiveDir>
<ReactiveProject>$(ReactiveDir)\ReactiveUI.csproj</ReactiveProject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Reactive">
<HintPath>$(ReactiveDir)\bin\$(Configuration)\$(TargetFramework)\Reactive.dll</HintPath>
</Reference>
</ItemGroup>
<Target Name="BuildReactiveUI" BeforeTargets="PrepareForBuild">
<Message Importance="high" Text="Started building project: ReactiveUI"/>
<!-- Restoring nugets -->
<Message Importance="high" Text="Restoring nugets..."/>
<MSBuild Projects="$(ReactiveProject)" Targets="Restore"/>
<!-- Building -->
<Message Importance="high" Text="Unity assemblies directory: $(UnityAssembliesDir)"/>
<Message Importance="high" Text="Building..."/>
<MSBuild Projects="$(ReactiveProject)"
Properties="Configuration=$(Configuration);UnityAssembliesDir=$(UnityAssembliesDir)"
RebaseOutputs="True"/>
</Target>
<!-- Importing unity references -->
<Import Project="$(ReactiveDir)\..\ReactiveUI.Unity.targets"/>
</Project>