forked from half-ogre/dapper-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDapperWrapper.msbuild
More file actions
24 lines (18 loc) · 868 Bytes
/
DapperWrapper.msbuild
File metadata and controls
24 lines (18 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project=".\.nuget\nuget.targets" />
<PropertyGroup Condition="'$(Configuration)' == ''">
<Configuration>Debug</Configuration>
</PropertyGroup>
<PropertyGroup>
<PackCommand>$(NuGetCommand) pack -p Configuration=$(Configuration) -o ..\</PackCommand>
</PropertyGroup>
<Target Name="Clean">
<MSBuild Projects=".\DapperWrapper.sln" Targets="Clean" Properties="Configuration=$(Configuration)"/>
</Target>
<Target Name="Build" DependsOnTargets="Clean">
<MSBuild Projects=".\DapperWrapper.sln" Targets="Build" Properties="Configuration=$(Configuration)"/>
</Target>
<Target Name="Package" DependsOnTargets="Build;CheckPrerequisites">
<Exec WorkingDirectory=".\DapperWrapper" Command="$(PackCommand)"/>
</Target>
</Project>