This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
/
NCommon.build
45 lines (45 loc) · 3.59 KB
/
NCommon.build
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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<PropertyGroup Condition="$(TargetFrameworkVersion)=='v3.5'">
<OutDir>$(OutputDir)\Net35\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFrameworkVersion)=='v4.0'">
<OutDir>$(OutputDir)\Net40\</OutDir>
</PropertyGroup>-->
<ItemGroup>
<Projects Include ="NCommon/src/NCommon.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapter.Autofac/NCommon.ContainerAdapter.Autofac.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapter.CastleWindsor/NCommon.ContainerAdapter.CastleWindsor.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapter.NInject/NCommon.ContainerAdapter.NInject.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapter.StructureMap/NCommon.ContainerAdapter.StructureMap.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapter.Unity/NCommon.ContainerAdapter.Unity.csproj"/>
<Projects Include ="NCommon.Db4o/src/NCommon.Db4o.csproj"/>
<Projects Include ="NCommon.EntityFramework/src/NCommon.EntityFramework.csproj"/>
<Projects Include ="NCommon.LinqToSql/src/NCommon.LinqToSql.csproj"/>
<Projects Include ="NCommon.Mvc/src/NCommon.Mvc.csproj"/>
<Projects Include ="NCommon.NHibernate/src/NCommon.NHibernate.csproj"/>
<Projects Include ="NCommon.Testing/NCommon.Testing.csproj"/>
</ItemGroup>
<ItemGroup Condition="$(IncludeTests) == 'true'">
<Projects Include ="NCommon.EntityFramework/tests/NCommon.EntityFramework.Tests/NCommon.EntityFramework.Tests.csproj"/>
<Projects Include ="NCommon.EntityFramework/tests/NCommon.EntityFramework.Tests.HRDomain/NCommon.EntityFramework.Tests.HRDomain.csproj"/>
<Projects Include ="NCommon.EntityFramework/tests/NCommon.EntityFramework.Tests.OrdersDomain/NCommon.EntityFramework.Tests.OrdersDomain.csproj"/>
<Projects Include ="NCommon.EntityFramework/tests/NCommon.EntityFramework4.Tests/NCommon.EntityFramework4.Tests.csproj"/>
<Projects Include ="NCommon.LinqToSql/tests/NCommon.LinqToSql.Tests/NCommon.LinqToSql.Tests.csproj"/>
<Projects Include ="NCommon.LinqToSql/tests/NCommon.LinqToSql.Tests.HRDomain/NCommon.LinqToSql.Tests.HRDomain.csproj"/>
<Projects Include ="NCommon.LinqToSql/tests/NCommon.LinqToSql.Tests.OrdersDomain/NCommon.LinqToSql.Tests.OrdersDomain.csproj"/>
<Projects Include ="NCommon.NHibernate/tests/NCommon.NHibernate.Tests/NCommon.NHibernate.Tests.csproj"/>
<Projects Include ="NCommon.NHibernate/tests/NCommon.NHibernate.Tests.HRDomain/NCommon.NHibernate.Tests.HRDomain.csproj"/>
<Projects Include ="NCommon.NHibernate/tests/NCommon.NHibernate.Tests.OrdersDomain/NCommon.NHibernate.Tests.OrdersDomain.csproj"/>
<Projects Include ="NCommon.ContainerAdapters/NCommon.ContainerAdapters.Tests/NCommon.ContainerAdapters.Tests.csproj"/>
<Projects Include ="NCommon.Db4o/tests/NCommon.Db4o.Tests.csproj"/>
<Projects Include ="NCommon.Mvc/tests/NCommon.Mvc.Tests/NCommon.Mvc.Tests.csproj"/>
<Projects Include ="NCommon/tests/NCommon.Tests.csproj"/>
</ItemGroup>
<Target Name="Clean">
<MSBuild Projects="@(Projects)" Targets="Clean" ContinueOnError="false"/>
</Target>
<Target Name="Build" DependsOnTargets="Clean">
<MSBuild Projects="@(Projects)" Targets="Rebuild" ContinueOnError="false" Properties="Configuration=$(Config);TargetFrameworkVersion=$(TargetFrameworkVersion);ToolsVersion=$(TargetFrameworkVersion);OutDir=$(OutDir);DefineConstants=$(DefineConstants)"/>
</Target>
</Project>