Datei: Make/NDO.proj
Last Commit (5058b84)
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | <PropertyGroup> |
4 | <PERS_DIR>. . </PERS_DIR> |
5 | <MAKE_DIR>$( PERS_DIR) \Make</MAKE_DIR> |
6 | <NDO_DIR>$( PERS_DIR) \ndodll</NDO_DIR> |
7 | <PACKAGE_DIR>$( PERS_DIR) \NDOPackage</PACKAGE_DIR> |
8 | <NDO_DLL>$( NDO_DIR) \bin\Release\NDO. dll</NDO_DLL> |
9 | <MAP_DIR>$( PERS_DIR) \SimpleMappingTool</MAP_DIR> |
10 | <GEN_DIR>$( PERS_DIR) \ClassGenerator</GEN_DIR> |
11 | <INTERF_DLL>$( PERS_DIR) \NDOInterfaces\bin\release\NDOInterfaces. dll</INTERF_DLL> |
12 | ··</PropertyGroup> |
13 | |
14 | ··<PropertyGroup> |
15 | <Configuration>Release</Configuration> |
16 | ····<Platform>AnyCPU</Platform> |
17 | ··</PropertyGroup> |
18 | ···· |
19 | ··<ItemGroup> |
20 | <Tools Include=". . \MakeEnhancerDate\MakeEnhancerDate. csproj" /> |
21 | ··</ItemGroup> |
22 | ·· |
23 | ··<ItemGroup> |
24 | <Project Include=". . \NDOInterfaces\NDOInterfaces. csproj" /> |
25 | <Project Include=". . \NDODLL\NDO. csproj" /> |
26 | <Project Include=". . \UISupport\NDO. UISupport\NDO. UISupport. csproj" /> |
27 | <Project Include=". . \Provider\MySqlConnectorProvider\NDO. MySqlConnector\NDO. MySqlConnector. csproj" /> |
28 | <Project Include=". . \Provider\MySqlNdoProvider\NDO. MySql\NDO. MySql. csproj" /> |
29 | <Project Include=". . \Provider\OracleProvider\NDO. Oracle\NDO. Oracle. csproj" /> |
30 | <Project Include=". . \Provider\SqliteProvider\NDO. Sqlite\NDO. Sqlite. csproj" /> |
31 | ····<Project Include="..\Provider\SqlServerProvider\NDO.Sqlserver\NDO.Sqlserver.csproj" />···· |
32 | ····<Project Include="..\Provider\PostgresProvider\NDO.Postgre\NDO.Postgre.csproj" /> |
33 | ···· |
34 | <Project Include=". . \Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport. csproj" /> |
35 | <Project Include=". . \Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport. csproj" /> |
36 | <Project Include=". . \Provider\OracleProvider\OracleUISupport\OracleUISupport. csproj" /> |
37 | <Project Include=". . \Provider\SqliteProvider\SqliteUISupport\SqliteUISupport. csproj" /> |
38 | <Project Include=". . \Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport. csproj" /> |
39 | <Project Include=". . \Provider\PostgresProvider\PostgresUISupport\PostgresUISupport. csproj" /> |
40 | ···· |
41 | <Project Include=". . \SimpleMappingTool\Mapping. csproj" /> |
42 | <Project Include=". . \NDOPackage\NDOPackage. csproj" /> |
43 | <Project Include=". . \NDOEnhancer\NDOEnhancer\NDOEnhancer. csproj" /> |
44 | ····<Project Include="..\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask.csproj" /> |
45 | ··</ItemGroup> |
46 | ·· |
47 | ··<ItemGroup> |
48 | <PackProject Include=". . \NDODLL\NDO. csproj" /> |
49 | ··</ItemGroup> |
50 | ·· |
51 | <ItemGroup> |
52 | <Projectx86 Include=". . \EnhancerX86Stub\EnhancerX86Stub\EnhancerX86Stub. csproj" /> |
53 | </ItemGroup> |
54 | |
55 | ··<Target Name="Build"> |
56 | <MSBuild Projects="@( Tools) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
57 | <Exec Condition="!EXISTS( '$( NDO_DIR) \SourceRevisionId. props') " Command="Copy $( NDO_DIR) \SourceRevisionId. props. sample $( NDO_DIR) \SourceRevisionId. props" /> |
58 | <MSBuild Projects="@( Project) " Targets="restore" /> |
59 | <MSBuild Projects="@( Project) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
60 | <MSBuild Projects="@( Projectx86) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=x86" /> |
61 | <MSBuild Projects="@( PackProject) " Targets="Pack" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
62 | ··</Target> |
63 | ·· |
64 | </Project> |
New Commit (cbfe9ed)
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. mapping"></PackProject> |
41 | <PackProject Include="ndo. jsonformatter"></PackProject> |
42 | <PackProject Include="ndo. providerfactory"></PackProject> |
43 | <PackProject Include="ndo. schemagenerator"></PackProject> |
44 | </ItemGroup> |
45 | |
46 | <!--These are the projects using the classic . NET framework--> |
47 | <ItemGroup> |
48 | <FwProject Include="$( NDO_DIR) \UISupport\NDO. UISupport\NDO. UISupport. csproj" /> |
49 | <FwProject Include=". . \Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport. csproj" /> |
50 | <FwProject Include=". . \Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport. csproj" /> |
51 | <FwProject Include=". . \Provider\OracleProvider\OracleUISupport\OracleUISupport. csproj" /> |
52 | ········<FwProject Include="..\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" /> |
53 | ········<FwProject Include="..\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" /> |
54 | ········<FwProject Include="..\Provider\PostgresProvider\PostgresUISupport\PostgresUISupport.csproj" /> |
55 | |
56 | <FwProject Include=". . \NDOPackage\NDOPackage. csproj" /> |
57 | <FwProject Include=". . \NDOEnhancer\NDOEnhancer\NDOEnhancer. csproj" /> |
58 | <FwProject Include=". . \NDOEnhancer. BuildTask\NDOEnhancer. BuildTask\NDOEnhancer. BuildTask. csproj" /> |
59 | ····</ItemGroup> |
60 | |
61 | |
62 | ····<ItemGroup> |
63 | <Provider Include="$( NDO_DIR) \Provider\MySqlConnectorProvider\NDO. MySqlConnector\NDO. MySqlConnector. csproj" /> |
64 | ········<Provider Include="$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" /> |
65 | ········<Provider Include="$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" /> |
66 | ········<Provider Include="$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" /> |
67 | ········<Provider Include="$(NDO_DIR)\Provider\SqlServerProvider\NDO.Sqlserver\NDO.Sqlserver.csproj" /> |
68 | ········<Provider Include="$(NDO_DIR)\Provider\PostgresProvider\NDO.Postgre\NDO.Postgre.csproj" />········ |
69 | ····</ItemGroup> |
70 | ········ |
71 | ····<Target Name="DeletePackages" BeforeTargets="CreatePackageDir"> |
72 | ········<RemoveDir Condition="Exists('$(PackagesDir)\%(PackProject.Identity)\$(Version)')" Directories="$(PackagesDir)\%(PackProject.Identity)\$(Version)" /> |
73 | ····</Target> |
74 | |
75 | ····<Target Name="CreatePackageDir" BeforeTargets="BuildTools"> |
76 | ········<MakeDir Condition="!Exists('$(PackageSourceFolder)')" Directories="$(PackageSourceFolder)" /> |
77 | ····</Target> |
78 | |
79 | ····<Target Name="BuildTools" BeforeTargets="PatchNdoVersion"> |
80 | ········<Message Text="Build Tools..."></Message> |
81 | ········<MSBuild Projects="@(Tools)" BuildInParallel="True" Targets="Restore" Properties="Configuration=Release;Platform=AnyCPU" /> |
82 | ········<MSBuild Projects="@(Tools)" BuildInParallel="True" Targets="Rebuild" Properties="Configuration=Release;Platform=AnyCPU" /> |
83 | ····</Target> |
84 | |
85 | ····<Target Name="PatchNdoVersion" BeforeTargets="Build"> |
86 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\SimpleMappingTool\Mapping.csproj" -n $(Version)" /> |
87 | |
88 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\NDO.Mapping\NDO.Mapping\NDO.Mapping.csproj" -i $(InterfacesVersion)" /> |
89 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\NDO.ProviderFactory\NDO.ProviderFactory\NDO.ProviderFactory.csproj" -i $(InterfacesVersion)" /> |
90 | ········ |
91 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\NDO.MySqlConnector\NDO.MySqlConnector.csproj" -i $(InterfacesVersion)" /> |
92 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\NDO.MySql\NDO.MySql.csproj" -i $(InterfacesVersion)" /> |
93 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\NDO.Oracle\NDO.Oracle.csproj" -i $(InterfacesVersion)" /> |
94 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\NDO.Postgre\NDO.Postgre.csproj" -i $(InterfacesVersion)" /> |
95 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\NDO.Sqlite\NDO.Sqlite.csproj" -i $(InterfacesVersion)" /> |
96 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\NDO.SqlServer\NDO.SqlServer.csproj" -i $(InterfacesVersion)" /> |
97 | ········ |
98 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport.csproj" -i $(InterfacesVersion)" /> |
99 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport.csproj" -i $(InterfacesVersion)" /> |
100 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" -i $(InterfacesVersion)" /> |
101 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\PostGresProvider\PostGresUISupport\PostGresUISupport.csproj" -i $(InterfacesVersion)" /> |
102 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" -i $(InterfacesVersion)" /> |
103 | ········<Exec Command="$(PatchNdoVersion) "$(NDO_DIR)\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" -i $(InterfacesVersion)" /> |
104 | |
105 | <Exec Command="$( PatchNdoVersion) "$( NDO_DIR) \NDOEnhancer\NDOEnhancer\NDOEnhancer. 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="$( NDO_DIR) \NDOInterfaces\NDOInterfaces. csproj" Targets="Restore" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
116 | <MSBuild Projects="$( NDO_DIR) \NDOInterfaces\NDOInterfaces. csproj" Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
117 | <MSBuild Projects="$( NDO_DIR) \NDO. Mapping\NDO. Mapping\NDO. Mapping. csproj" Targets="restore" /> |
118 | <MSBuild Projects="$( NDO_DIR) \NDO. Mapping\NDO. Mapping\NDO. Mapping. csproj" Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
119 | |
120 | ········<MSBuild Projects="$(NDO_DIR)\NDO.ProviderFactory\NDO.ProviderFactory\NDO.ProviderFactory.csproj" Targets="restore" /> |
121 | ········<MSBuild Projects="$(NDO_DIR)\NDO.ProviderFactory\NDO.ProviderFactory\NDO.ProviderFactory.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
122 | |
123 | ········<MSBuild Projects="$(NDO_DIR)\NDO.SchemaGenerator\NDO.SchemaGenerator\NDO.SchemaGenerator.csproj" Targets="restore" /> |
124 | ········<MSBuild Projects="$(NDO_DIR)\NDO.SchemaGenerator\NDO.SchemaGenerator\NDO.SchemaGenerator.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
125 | |
126 | ········<MSBuild Projects="$(NDO_DIR)\NDODLL\NDO.csproj" Targets="restore" /> |
127 | ········<MSBuild Projects="$(NDO_DIR)\NDODLL\NDO.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
128 | |
129 | ········<MSBuild Projects="@(FwProject)" Targets="restore" /> |
130 | ········<MSBuild Projects="@(FwProject)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
131 | ········<MSBuild Projects="@(Provider)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
132 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\Ecma335\Ecma335.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
133 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" Targets="Restore" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
134 | ········<MSBuild Projects="$(NDO_DIR)\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
135 | ····</Target> |
136 | ·· |
137 | </Project> |