generated from dotnet/new-repo
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Build.proj
40 lines (34 loc) · 1.89 KB
/
Build.proj
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
29
30
31
32
33
34
35
36
37
38
39
40
<Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup>
<!-- Disable target framework filtering for top level projects -->
<NoTargetFrameworkFiltering>true</NoTargetFrameworkFiltering>
<!-- Disable native projects - see https://github.com/dotnet/deployment-tools/issues/398 -->
<DisableNativeProjects>false</DisableNativeProjects>
</PropertyGroup>
<ItemGroup Condition="'$(DotNetBuild)' != 'true'">
<ClickOnceProjectToBuild Include="src/clickonce/**/*.csproj" Pack="true" />
<ClickOnceProjectToBuild Include="src/clickonce/native/build-native.proj" Pack="false" Condition="'$(DisableNativeProjects)' != 'true'"/>
<ProjectReference Include="@(ClickOnceProjectToBuild)"
BuildInParallel="true"
Test="false">
<AdditionalProperties Condition="'$(ClickOnceConfiguration)' != ''">Configuration=$(ClickOnceConfiguration)</AdditionalProperties>
</ProjectReference>
<ProjectReference Include="src/clickonce/NetCoreCheck/*.pkgproj"
Pack="true"
Test="false"
BuildInParallel="false"
Condition="'$(TargetOS)' == 'windows' and '$(DisableNativeProjects)' != 'true'">
<AdditionalProperties Condition="'$(ClickOnceConfiguration)' != ''">Configuration=$(ClickOnceConfiguration)</AdditionalProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="src/Microsoft.Deployment.DotNet.Releases/src/Microsoft.Deployment.DotNet.Releases.csproj"
Pack="true"
Test="false"
BuildInParallel="true" />
<ProjectReference Include="src/Microsoft.Deployment.DotNet.Releases/tests/Microsoft.Deployment.DotNet.Releases.Tests.csproj"
Pack="false"
Test="true"
BuildInParallel="true" />
</ItemGroup>
</Project>