-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.csproj
36 lines (31 loc) · 1.57 KB
/
build.csproj
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
<Project DefaultTargets="UpdateAssemblyInfo;Rebuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
<PropertyGroup>
<SolutionRootDir>$(MSBuildProjectDirectory)</SolutionRootDir>
<ApplicationName>OpenApi.NET</ApplicationName>
<Version>0.0.1.0</Version>
<Company>Car Delivery Network Limited</Company>
<Copyright>Copyright © 2014</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(BUILD_NUMBER)' != ''">
<Version>$(BUILD_NUMBER)</Version>
</PropertyGroup>
<ItemGroup>
<Solution Include="src\CarDeliveryNetwork.Api.ClientProxy.sln" />
<Solution Include="console\cs\console.sln" />
<Solution Include="cdnlink\CdnLink.sln" />
<Solution Include="webhooks\CdnHookToFtp\CdnHookToFtp.sln" />
</ItemGroup>
<Target Name="UpdateAssemblyInfo">
<ItemGroup>
<AllAssemblyInfos Include="$(SolutionRootDir)\**\AssemblyInfo.cs"/>
</ItemGroup>
<Attrib Files="@(AllAssemblyInfos)" ReadOnly="false"/>
<AssemblyInfo AssemblyTitle="" AssemblyProduct="$(ApplicationName)" AssemblyCompany="$(Company)" AssemblyCopyright="$(Copyright)"
ComVisible="false" CodeLanguage="CS"
AssemblyVersion="$(Version)" AssemblyFileVersion="$(Version)" OutputFile="%(AllAssemblyInfos.FullPath)" />
</Target>
<Target Name="Rebuild">
<MSBuild Projects="@(Solution)" Targets="Rebuild" Properties="Configuration=Release" />
</Target>
</Project>