-
Notifications
You must be signed in to change notification settings - Fork 0
/
Master.proj
50 lines (37 loc) · 1.77 KB
/
Master.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
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildFolder>$(MSBuildProjectDirectory)\Build</BuildFolder>
<ToolFolder>$(MSBuildProjectDirectory)\Tools</ToolFolder>
<MSBuildCommunityTasksPath>$(ToolFolder)\MSBuildTasks\tools</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.targets"/>
<!-- Version Number -->
<PropertyGroup>
<BuildNumber Condition=" '$(APPVEYOR_BUILD_NUMBER)' != '' ">$(APPVEYOR_BUILD_NUMBER)</BuildNumber>
<BuildNumber Condition=" '$(BUILD_NUMBER)' != '' ">$(BUILD_NUMBER)</BuildNumber>
<BuildNumber Condition=" '$(BuildNumber)' == '' ">0</BuildNumber>
<BuildConfiguration Condition=" '$(BuildConfiguration)' == '' ">Release</BuildConfiguration>
<Major Condition=" '$(Major)' == '' ">1</Major>
<Minor Condition=" '$(Minor)' == '' ">0</Minor>
<PackageVersion>$(Major).$(Minor).$(BuildNumber)</PackageVersion>
</PropertyGroup>
<Target Name="Zip" DependsOnTargets="">
<ItemGroup>
<ZipFiles Include="Common\*.dll" />
<ZipFiles Include="CSharp\Internal\*.cst" />
<ZipFiles Include="CSharp\Internal\*.cs" />
<ZipFiles Include="CSharp\*.cst" />
</ItemGroup>
<Zip Files="@(ZipFiles)"
WorkingDirectory="$(MSBuildProjectDirectory)"
ZipFileName="PLINQO.EntityFrameworkCore.v$(PackageVersion).zip" />
</Target>
<Target Name="Package" DependsOnTargets="">
<NuGetPack File="PLINQO.EntityFrameworkCore.nuspec"
OutputDirectory="$(MSBuildProjectDirectory)"
Version="$(PackageVersion)" />
</Target>
<Target Name="Build" DependsOnTargets="Zip;Package">
</Target>
</Project>