-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathiSynaptic.Core.msbuild
More file actions
38 lines (29 loc) · 1.81 KB
/
iSynaptic.Core.msbuild
File metadata and controls
38 lines (29 loc) · 1.81 KB
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
<?xml version="1.0" encoding="utf-8" ?>
<Project ToolsVersion="4.0" DefaultTargets="BuildComplete" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionName>iSynaptic.Core</SolutionName>
<NugetPath Condition="$(NugetPath) == ''">tools\Nuget</NugetPath>
</PropertyGroup>
<Import Project="tools\SolutionBuild.targets" />
<PropertyGroup>
<PackagesPath Condition="$(PackagesPath) == ''">$(RootOutputPath)\$(Configuration)\Packages</PackagesPath>
</PropertyGroup>
<ItemGroup>
<NuspecFile Include="$(MSBuildProjectDirectory)\$(SolutionName).nuspec" />
<NuspecFile Include="$(MSBuildProjectDirectory)\$(SolutionName).Serialization.nuspec" />
<NuspecFile Include="$(MSBuildProjectDirectory)\$(SolutionName).Persistence.nuspec" />
<NuspecFile Include="$(MSBuildProjectDirectory)\$(SolutionName).CodeGeneration.nuspec" />
</ItemGroup>
<ItemGroup>
<ApplicationProject Include="src\$(SolutionName)\$(SolutionName).csproj" />
<ApplicationProject Include="src\$(SolutionName).CodeGeneration\$(SolutionName).CodeGeneration.csproj" />
<ApplicationProject Include="src\$(SolutionName).Serialization\$(SolutionName).Serialization.csproj" />
<ApplicationProject Include="src\$(SolutionName).Persistence\$(SolutionName).Persistence.csproj" />
<TestingProject Include="src\$(SolutionName).UnitTests\$(SolutionName).UnitTests.csproj" />
</ItemGroup>
<Target Name="CorePackage">
<MakeDir Directories="$(PackagesPath)" />
<Copy SourceFiles="$(SolutionName).ReleaseNotes.txt" DestinationFolder="$(BaseOutputPath)" />
<Exec Command="$(NugetPath)\nuget.exe pack "%(NuspecFile.Identity)" -BasePath "$(BaseOutputPath)" -OutputDirectory "$(PackagesPath)"" />
</Target>
</Project>