Datei: Make/Test.proj
Last Commit (f2128d0)
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | ····<!-- You need to adjust these values, otherwise the build will not work --> |
4 | ····<PropertyGroup Label="Adjustable properties"> |
5 | ········<NDO_DIR>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..'))</NDO_DIR> |
6 | ········<Version>5.0.0</Version> |
7 | ········<InterfacesVersion>5.0.0</InterfacesVersion> |
8 | ········<!-- This is identical to the NDO.Enhancer version --> |
9 | ········<NDOBuild-Version>5.0.0</NDOBuild-Version> |
10 | ········<!-- |
11 | ············NDO generates packages which should be present in the package source |
12 | ············during the build process. |
13 | ············The PackageSourceFolder folder should be defined as |
14 | ············package source in Visual Studio. |
15 | ········--> |
16 | ········<PackageSourceFolder>$(NDO_DIR)\BuiltPackages</PackageSourceFolder> |
17 | ····</PropertyGroup> |
18 | |
19 | ····<PropertyGroup> |
20 | ········<Configuration Condition="'$(Configuration)'==''">Release</Configuration> |
21 | ········<Platform>AnyCPU</Platform> |
22 | ········<PackagesDir>$(userprofile)\.nuget\packages</PackagesDir> |
23 | |
24 | ········<MAKE_DIR>$(NDO_DIR)\Make</MAKE_DIR> |
25 | ········<TOOLS_DIR>$(NDO_DIR)\Tools</TOOLS_DIR> |
26 | ········<MAP_DIR>$(NDO_DIR)\SimpleMappingTool</MAP_DIR> |
27 | ········<GEN_DIR>$(NDO_DIR)\ClassGenerator</GEN_DIR> |
28 | ········<PatchNdoVersion>$(TOOLS_DIR)\PatchNdoVersion\bin\Release\net8.0\PatchNdoVersion</PatchNdoVersion> |
29 | ····</PropertyGroup> |
30 | |
31 | ····<ItemGroup> |
32 | ········<Tools Include="$(TOOLS_DIR)\MakeEnhancerDate\MakeEnhancerDate.csproj" />···· |
33 | ········<Tools Include="$(TOOLS_DIR)\PatchNdoVersion\PatchNdoVersion.csproj" />···· |
34 | ····</ItemGroup> |
35 | ···· |
36 | ····<!-- These are the names of packages beeing built for NDO --> |
37 | ····<ItemGroup> |
38 | ········<PackProject Include="ndointerfaces"></PackProject> |
39 | ········<PackProject Include="ndo.dll"></PackProject> |
40 | ········<PackProject Include="ndo.core"></PackProject> |
41 | ········<PackProject Include="ndo.mapping"></PackProject> |
42 | ········<PackProject Include="ndo.jsonformatter"></PackProject> |
43 | ········<PackProject Include="ndo.providerfactory"></PackProject> |
44 | ········<PackProject Include="ndo.schemagenerator"></PackProject> |
45 | ····</ItemGroup> |
46 | |
47 | ····<!--These are the projects using the classic .NET framework--> |
48 | ····<ItemGroup> |
49 | ········<FwProject Include="$(NDO_DIR)\UISupport\NDO.UISupport\NDO.UISupport.csproj" /> |
50 | ········<FwProject Include="..\Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport.csproj" /> |
51 | ········<FwProject Include="..\Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport.csproj" /> |
52 | ········<FwProject Include="..\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" /> |
53 | ········<FwProject Include="..\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" /> |
54 | ········<FwProject Include="..\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" /> |
55 | ········<FwProject Include="..\Provider\PostgresProvider\PostgresUISupport\PostgresUISupport.csproj" /> |
56 | |
57 | ········<FwProject Include="..\NDOPackage\NDOPackage.csproj" /> |
58 | ········<FwProject Include="..\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" /> |
59 | ········<FwProject Include="..\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask.csproj" /> |
60 | ····</ItemGroup> |
61 | |
62 | |
63 | ····<ItemGroup> |
64 | ········<NdoCore Include="$(NDO_DIR)\NDOInterfaces\NDOInterfaces.csproj" /> |
65 | ········<NdoCore Include="$(NDO_DIR)\NDODLL\NDO.csproj" /> |
66 | ····</ItemGroup> |
67 | |
68 | ····<ItemGroup> |
69 | ········<Provider Include="$(NDO_DIR)\Provider\MySqlConnectorProvider\NDO.MySqlConnector\NDO.MySqlConnector.csproj" /> |
70 | ········<Provider Include="$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" /> |
71 | ········<Provider Include="$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" /> |
72 | ········<Provider Include="$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" /> |
73 | ········<Provider Include="$(NDO_DIR)\Provider\SqlServerProvider\NDO.Sqlserver\NDO.Sqlserver.csproj" /> |
74 | ········<Provider Include="$(NDO_DIR)\Provider\PostgresProvider\NDO.Postgre\NDO.Postgre.csproj" />········ |
75 | ····</ItemGroup> |
76 | ········ |
77 | ····<Target Name="DeletePackages" BeforeTargets="CreatePackageDir"> |
78 | ········<RemoveDir Condition="Exists('$(PackagesDir)\%(PackProject.Identity)\$(Version)')" Directories="$(PackagesDir)\%(PackProject.Identity)\$(Version)" /> |
79 | ····</Target> |
80 | |
81 | ····<Target Name="CreatePackageDir" BeforeTargets="BuildTools"> |
82 | ········<MakeDir Condition="!Exists('$(PackageSourceFolder)')" Directories="$(PackageSourceFolder)" /> |
83 | ····</Target> |
84 | |
85 | ····<Target Name="BuildTools" BeforeTargets="PatchNdoVersion"> |
86 | ········<Message Text="Build Tools..."></Message> |
87 | ········<MSBuild Projects="@(Tools)" BuildInParallel="True" Targets="Build" Properties="Configuration=Release;Platform=AnyCPU" /> |
88 | ····</Target> |
89 | |
90 | ····<Target Name="PatchNdoVersion" BeforeTargets="Build"> |
91 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\SimpleMappingTool\Mapping.csproj" -n $(Version)" /> |
92 | ········ |
93 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\NDO.MySqlConnector\NDO.MySqlConnector.csproj" -i $(InterfacesVersion)" /> |
94 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" -i $(InterfacesVersion)" /> |
95 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" -i $(InterfacesVersion)" /> |
96 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\NDO.Postgre\NDO.Postgre.csproj" -i $(InterfacesVersion)" /> |
97 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" -i $(InterfacesVersion)" /> |
98 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\NDO.SqlServer\NDO.SqlServer.csproj" -i $(InterfacesVersion)" /> |
99 | ········ |
100 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport.csproj" -i $(InterfacesVersion)" /> |
101 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport.csproj" -i $(InterfacesVersion)" /> |
102 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" -i $(InterfacesVersion)" /> |
103 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\PostGresUISupport\PostGresUISupport.csproj" -i $(InterfacesVersion)" /> |
104 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" -i $(InterfacesVersion)" /> |
105 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" -i $(InterfacesVersion)" /> |
106 | ····</Target> |
107 | |
108 | ····<Target Name="NDOBuild" AfterTargets="Build"> |
109 | <Exec WorkingDirectory="$( NDO_DIR) \nuget" Condition="'$( Configuration) '=='Release'" Command="nuget. exe pack NDO. Build. nuspec" /> |
110 | ····</Target> |
111 | |
112 | |
113 | ····<Target Name="Build"> |
114 | ········<Message Text="Build..."></Message> |
115 | ········<MSBuild Projects="@(NdoCore)" Targets="restore" /> |
116 | ········<MSBuild Projects="@(NdoCore)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
117 | <MSBuild Projects="@( FwProject) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
118 | ········<MSBuild Projects="@(Provider)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
119 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\Ecma335\Ecma335.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
120 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" Targets="Restore" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
121 | <MSBuild Projects="$( NDO_DIR) \NDOEnhancer\NDOEnhancer\NDOEnhancer. csproj" Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
122 | ····</Target> |
123 | ·· |
124 | </Project> |
New Commit (6626c8f)
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | ····<!-- You need to adjust these values, otherwise the build will not work --> |
4 | ····<PropertyGroup Label="Adjustable properties"> |
5 | ········<NDO_DIR>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..'))</NDO_DIR> |
6 | ········<Version>5.0.0</Version> |
7 | ········<InterfacesVersion>5.0.0</InterfacesVersion> |
8 | ········<!-- This is identical to the NDO.Enhancer version --> |
9 | ········<NDOBuild-Version>5.0.0</NDOBuild-Version> |
10 | ········<!-- |
11 | ············NDO generates packages which should be present in the package source |
12 | ············during the build process. |
13 | ············The PackageSourceFolder folder should be defined as |
14 | ············package source in Visual Studio. |
15 | ········--> |
16 | ········<PackageSourceFolder>$(NDO_DIR)\BuiltPackages</PackageSourceFolder> |
17 | ····</PropertyGroup> |
18 | |
19 | ····<PropertyGroup> |
20 | ········<Configuration Condition="'$(Configuration)'==''">Release</Configuration> |
21 | ········<Platform>AnyCPU</Platform> |
22 | ········<PackagesDir>$(userprofile)\.nuget\packages</PackagesDir> |
23 | |
24 | ········<MAKE_DIR>$(NDO_DIR)\Make</MAKE_DIR> |
25 | ········<TOOLS_DIR>$(NDO_DIR)\Tools</TOOLS_DIR> |
26 | ········<MAP_DIR>$(NDO_DIR)\SimpleMappingTool</MAP_DIR> |
27 | ········<GEN_DIR>$(NDO_DIR)\ClassGenerator</GEN_DIR> |
28 | ········<PatchNdoVersion>$(TOOLS_DIR)\PatchNdoVersion\bin\Release\net8.0\PatchNdoVersion</PatchNdoVersion> |
29 | ····</PropertyGroup> |
30 | |
31 | ····<ItemGroup> |
32 | ········<Tools Include="$(TOOLS_DIR)\MakeEnhancerDate\MakeEnhancerDate.csproj" />···· |
33 | ········<Tools Include="$(TOOLS_DIR)\PatchNdoVersion\PatchNdoVersion.csproj" />···· |
34 | ····</ItemGroup> |
35 | ···· |
36 | ····<!-- These are the names of packages beeing built for NDO --> |
37 | ····<ItemGroup> |
38 | ········<PackProject Include="ndointerfaces"></PackProject> |
39 | ········<PackProject Include="ndo.dll"></PackProject> |
40 | ········<PackProject Include="ndo.core"></PackProject> |
41 | ········<PackProject Include="ndo.mapping"></PackProject> |
42 | ········<PackProject Include="ndo.jsonformatter"></PackProject> |
43 | ········<PackProject Include="ndo.providerfactory"></PackProject> |
44 | ········<PackProject Include="ndo.schemagenerator"></PackProject> |
45 | ····</ItemGroup> |
46 | |
47 | ····<!--These are the projects using the classic .NET framework--> |
48 | ····<ItemGroup> |
49 | ········<FwProject Include="$(NDO_DIR)\UISupport\NDO.UISupport\NDO.UISupport.csproj" /> |
50 | ········<FwProject Include="..\Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport.csproj" /> |
51 | ········<FwProject Include="..\Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport.csproj" /> |
52 | ········<FwProject Include="..\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" /> |
53 | ········<FwProject Include="..\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" /> |
54 | ········<FwProject Include="..\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" /> |
55 | ········<FwProject Include="..\Provider\PostgresProvider\PostgresUISupport\PostgresUISupport.csproj" /> |
56 | |
57 | ········<FwProject Include="..\NDOPackage\NDOPackage.csproj" /> |
58 | ········<FwProject Include="..\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" /> |
59 | ········<FwProject Include="..\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask.csproj" /> |
60 | ····</ItemGroup> |
61 | |
62 | |
63 | ····<ItemGroup> |
64 | ········<NdoCore Include="$(NDO_DIR)\NDOInterfaces\NDOInterfaces.csproj" /> |
65 | ········<NdoCore Include="$(NDO_DIR)\NDO.Mapping\NDO.Mapping\NDO.Mapping.csproj" /> |
66 | ········<NdoCore Include="$(NDO_DIR)\NDO.ProviderFactory\NDO.ProviderFactory\NDO.ProviderFactory.csproj" /> |
67 | ········<NdoCore Include="$(NDO_DIR)\NDO.SchemaGenerator\NDO.SchemaGenerator\NDO.SchemaGenerator.csproj" /> |
68 | ········<NdoCore Include="$(NDO_DIR)\NDODLL\NDO.csproj" /> |
69 | ····</ItemGroup> |
70 | |
71 | ····<ItemGroup> |
72 | ········<Provider Include="$(NDO_DIR)\Provider\MySqlConnectorProvider\NDO.MySqlConnector\NDO.MySqlConnector.csproj" /> |
73 | ········<Provider Include="$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" /> |
74 | ········<Provider Include="$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" /> |
75 | ········<Provider Include="$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" /> |
76 | ········<Provider Include="$(NDO_DIR)\Provider\SqlServerProvider\NDO.Sqlserver\NDO.Sqlserver.csproj" /> |
77 | ········<Provider Include="$(NDO_DIR)\Provider\PostgresProvider\NDO.Postgre\NDO.Postgre.csproj" />········ |
78 | ····</ItemGroup> |
79 | ········ |
80 | ····<Target Name="DeletePackages" BeforeTargets="CreatePackageDir"> |
81 | ········<RemoveDir Condition="Exists('$(PackagesDir)\%(PackProject.Identity)\$(Version)')" Directories="$(PackagesDir)\%(PackProject.Identity)\$(Version)" /> |
82 | ····</Target> |
83 | |
84 | ····<Target Name="CreatePackageDir" BeforeTargets="BuildTools"> |
85 | ········<MakeDir Condition="!Exists('$(PackageSourceFolder)')" Directories="$(PackageSourceFolder)" /> |
86 | ····</Target> |
87 | |
88 | ····<Target Name="BuildTools" BeforeTargets="PatchNdoVersion"> |
89 | ········<Message Text="Build Tools..."></Message> |
90 | ········<MSBuild Projects="@(Tools)" BuildInParallel="True" Targets="Build" Properties="Configuration=Release;Platform=AnyCPU" /> |
91 | ····</Target> |
92 | |
93 | ····<Target Name="PatchNdoVersion" BeforeTargets="Build"> |
94 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\SimpleMappingTool\Mapping.csproj" -n $(Version)" /> |
95 | |
96 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\NDO.Mapping\NDO.Mapping\NDO.Mapping.csproj" -i $(InterfacesVersion)" /> |
97 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\NDO.ProviderFactory\NDO.ProviderFactory\NDO.ProviderFactory.csproj" -i $(InterfacesVersion)" /> |
98 | ········ |
99 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\NDO.MySqlConnector\NDO.MySqlConnector.csproj" -i $(InterfacesVersion)" /> |
100 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" -i $(InterfacesVersion)" /> |
101 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" -i $(InterfacesVersion)" /> |
102 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\NDO.Postgre\NDO.Postgre.csproj" -i $(InterfacesVersion)" /> |
103 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" -i $(InterfacesVersion)" /> |
104 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\NDO.SqlServer\NDO.SqlServer.csproj" -i $(InterfacesVersion)" /> |
105 | ········ |
106 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport.csproj" -i $(InterfacesVersion)" /> |
107 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport.csproj" -i $(InterfacesVersion)" /> |
108 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" -i $(InterfacesVersion)" /> |
109 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\PostGresUISupport\PostGresUISupport.csproj" -i $(InterfacesVersion)" /> |
110 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" -i $(InterfacesVersion)" /> |
111 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" -i $(InterfacesVersion)" /> |
112 | ····</Target> |
113 | |
114 | ····<Target Name="NDOBuild" AfterTargets="Build"> |
115 | <!--Exec WorkingDirectory="$( NDO_DIR) \nuget" Condition="'$( Configuration) '=='Release'" Command="nuget. exe pack NDO. Build. nuspec" /--> |
116 | ····</Target> |
117 | |
118 | |
119 | ····<Target Name="Build"> |
120 | ········<Message Text="Build..."></Message> |
121 | ········<MSBuild Projects="@(NdoCore)" Targets="restore" /> |
122 | ········<MSBuild Projects="@(NdoCore)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
123 | <!--MSBuild Projects="@( FwProject) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
124 | ········<MSBuild Projects="@(Provider)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
125 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\Ecma335\Ecma335.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
126 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" Targets="Restore" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
127 | <MSBuild Projects="$( NDO_DIR) \NDOEnhancer\NDOEnhancer\NDOEnhancer. csproj" Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /--> |
128 | ····</Target> |
129 | ·· |
130 | </Project> |