Datei: Make/Test.proj
Last Commit (831b962)
| 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 | ········<!-- |
| 8 | ············NDO generates packages which should be present in the package source |
| 9 | ············during the build process. |
| 10 | ············The PackageSourceFolder folder should be defined as |
| 11 | ············package source in Visual Studio. |
| 12 | ········--> |
| 13 | ········<PackageSourceFolder>$(NDO_DIR)\BuiltPackages</PackageSourceFolder> |
| 14 | ····</PropertyGroup> |
| 15 | ···· |
| 16 | ··<PropertyGroup> |
| 17 | ····<Configuration Condition="'$(Configuration)'==''">Release</Configuration> |
| 18 | ····<Platform>AnyCPU</Platform> |
| 19 | ····<PackagesDir>$(userprofile)\.nuget\packages</PackagesDir> |
| 20 | ·· |
| 21 | ····<MAKE_DIR>$(NDO_DIR)\Make</MAKE_DIR> |
| 22 | ····<TOOLS_DIR>$(NDO_DIR)\Tools</TOOLS_DIR> |
| 23 | ····<MAP_DIR>$(NDO_DIR)\SimpleMappingTool</MAP_DIR> |
| 24 | ····<GEN_DIR>$(NDO_DIR)\ClassGenerator</GEN_DIR> |
| 25 | ··</PropertyGroup> |
| 26 | |
| 27 | ····<ItemGroup> |
| 28 | ········<Tools Include="$(TOOLS_DIR)\MakeEnhancerDate\MakeEnhancerDate.csproj" />···· |
| 29 | ········<Tools Include="$(TOOLS_DIR)\PatchNdoVersion\PatchNdoVersion.csproj" />···· |
| 30 | ····</ItemGroup> |
| 31 | ···· |
| 32 | ····<ItemGroup> |
| 33 | ········<PackProject Include="ndointerfaces"></PackProject> |
| 34 | ········<PackProject Include="ndo.dll"></PackProject> |
| 35 | ········<PackProject Include="ndo.core"></PackProject> |
| 36 | ········<PackProject Include="ndo.mapping"></PackProject> |
| 37 | ········<PackProject Include="ndo.jsonformatter"></PackProject> |
| 38 | ········<PackProject Include="ndo.providerfactory"></PackProject> |
| 39 | ········<PackProject Include="ndo.schemagenerator"></PackProject> |
| 40 | ····</ItemGroup> |
| 41 | |
| 42 | ····<ItemGroup> |
| 43 | <Project Include="$( NDO_DIR) \NDOInterfaces\NDOInterfaces. csproj" /> |
| 44 | <Project Include="$( NDO_DIR) \NDODLL\NDO. csproj" /> |
| 45 | <Project Include="$( NDO_DIR) \Provider\MySqlConnectorProvider\NDO. MySqlConnector\NDO. MySqlConnector. csproj" /> |
| 46 | <Project Include="$( NDO_DIR) \Provider\MySqlNdoProvider\NDO. MySql\NDO. MySql. csproj" /> |
| 47 | <Project Include="$( NDO_DIR) \Provider\OracleProvider\NDO. Oracle\NDO. Oracle. csproj" /> |
| 48 | <Project Include="$( NDO_DIR) \Provider\SqliteProvider\NDO. Sqlite\NDO. Sqlite. csproj" /> |
| 49 | <Project Include="$( NDO_DIR) \Provider\SqlServerProvider\NDO. Sqlserver\NDO. Sqlserver. csproj" /> |
| 50 | <Project Include="$( NDO_DIR) \Provider\PostgresProvider\NDO. Postgre\NDO. Postgre. csproj" /> |
| 51 | |
| 52 | <!--Project Include=". . \Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport. csproj" /> |
| 53 | <Project Include="$( NDO_DIR) \UISupport\NDO. UISupport\NDO. UISupport. csproj" /> |
| 54 | <Project Include=". . \Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport. csproj" /> |
| 55 | ········<Project Include="..\Provider\OracleProvider\OracleUISupport\OracleUISupport.csproj" /> |
| 56 | ········<Project Include="..\Provider\SqliteProvider\SqliteUISupport\SqliteUISupport.csproj" /> |
| 57 | ········<Project Include="..\Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport.csproj" /> |
| 58 | ········<Project Include="..\Provider\PostgresProvider\PostgresUISupport\PostgresUISupport.csproj" /> |
| 59 | |
| 60 | <Project Include=". . \SimpleMappingTool\Mapping. csproj" /> |
| 61 | <Project Include=". . \NDOPackage\NDOPackage. csproj" /> |
| 62 | <Project Include=". . \NDOEnhancer\NDOEnhancer\NDOEnhancer. csproj" /> |
| 63 | <Project Include=". . \NDOEnhancer. BuildTask\NDOEnhancer. BuildTask\NDOEnhancer. BuildTask. csproj" --> |
| 64 | ····</ItemGroup>···· |
| 65 | ···· |
| 66 | ····<ItemGroup> |
| 67 | ········<ProjectsToPatch Include="$(NDO_DIR)\NDOInterfaces\NDOInterfaces.csproj" ></ProjectsToPatch> |
| 68 | ········<ProjectsToPatch Include="$(NDO_DIR)\NDODLL\NDO.csproj" ></ProjectsToPatch> |
| 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="Build" Properties="Configuration=Release;Platform=AnyCPU" /> |
| 82 | ····</Target> |
| 83 | |
| 84 | ····<Target Name="PatchNdoVersion" BeforeTargets="Build"> |
| 85 | <Message Text="$( TOOLS_DIR) \PatchNdoVersion\bin\Release\net8. 0\PatchNdoVersion %( Project. Identity) $( Version) "></Message> |
| 86 | ········<Exec Command="$(TOOLS_DIR)\PatchNdoVersion\bin\Release\net8.0\PatchNdoVersion %(Project.Identity) $(Version)" /> |
| 87 | ····</Target> |
| 88 | ···· |
| 89 | ····<Target Name="RestoreMsg" BeforeTargets="Restore"> |
| 90 | ········<Message Text="$(Lala)"></Message> |
| 91 | ····</Target> |
| 92 | |
| 93 | |
| 94 | ····<Target Name="Build"> |
| 95 | ········<Message Text="Build..."></Message> |
| 96 | <MSBuild Projects="@( Project) " Targets="restore" /> |
| 97 | <MSBuild Projects="@( Project) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
| 98 | ····</Target> |
| 99 | ·· |
| 100 | </Project> |
New Commit (add8490)
| 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 | ········<!-- |
| 8 | ············NDO generates packages which should be present in the package source |
| 9 | ············during the build process. |
| 10 | ············The PackageSourceFolder folder should be defined as |
| 11 | ············package source in Visual Studio. |
| 12 | ········--> |
| 13 | ········<PackageSourceFolder>$(NDO_DIR)\BuiltPackages</PackageSourceFolder> |
| 14 | ····</PropertyGroup> |
| 15 | ···· |
| 16 | ··<PropertyGroup> |
| 17 | ····<Configuration Condition="'$(Configuration)'==''">Release</Configuration> |
| 18 | ····<Platform>AnyCPU</Platform> |
| 19 | ····<PackagesDir>$(userprofile)\.nuget\packages</PackagesDir> |
| 20 | ·· |
| 21 | ····<MAKE_DIR>$(NDO_DIR)\Make</MAKE_DIR> |
| 22 | ····<TOOLS_DIR>$(NDO_DIR)\Tools</TOOLS_DIR> |
| 23 | ····<MAP_DIR>$(NDO_DIR)\SimpleMappingTool</MAP_DIR> |
| 24 | ····<GEN_DIR>$(NDO_DIR)\ClassGenerator</GEN_DIR> |
| 25 | ··</PropertyGroup> |
| 26 | |
| 27 | ····<ItemGroup> |
| 28 | ········<Tools Include="$(TOOLS_DIR)\MakeEnhancerDate\MakeEnhancerDate.csproj" />···· |
| 29 | ········<Tools Include="$(TOOLS_DIR)\PatchNdoVersion\PatchNdoVersion.csproj" />···· |
| 30 | ····</ItemGroup> |
| 31 | ···· |
| 32 | ····<!-- These are the names of packages beeing built for NDO --> |
| 33 | ····<ItemGroup> |
| 34 | ········<PackProject Include="ndointerfaces"></PackProject> |
| 35 | ········<PackProject Include="ndo.dll"></PackProject> |
| 36 | ········<PackProject Include="ndo.core"></PackProject> |
| 37 | ········<PackProject Include="ndo.mapping"></PackProject> |
| 38 | ········<PackProject Include="ndo.jsonformatter"></PackProject> |
| 39 | ········<PackProject Include="ndo.providerfactory"></PackProject> |
| 40 | ········<PackProject Include="ndo.schemagenerator"></PackProject> |
| 41 | ····</ItemGroup> |
| 42 | |
| 43 | ····<!--These are the projects using the classic .NET framework--> |
| 44 | ····<ItemGroup> |
| 45 | <FwProject Include=". . \Provider\MySqlNdoProvider\MySqlUISupport\MySqlUISupport. csproj" /> |
| 46 | <!--FwProject Include="$( NDO_DIR) \UISupport\NDO. UISupport\NDO. UISupport. csproj" /> |
| 47 | <FwProject Include=". . \Provider\MySqlConnectorProvider\MySqlConnectorUISupport\MySqlConnectorUISupport. csproj" /> |
| 48 | <FwProject Include=". . \Provider\OracleProvider\OracleUISupport\OracleUISupport. csproj" /> |
| 49 | <FwProject Include=". . \Provider\SqliteProvider\SqliteUISupport\SqliteUISupport. csproj" /> |
| 50 | <FwProject Include=". . \Provider\SqlServerProvider\SqlServerUISupport\SqlServerUISupport. csproj" /> |
| 51 | <FwProject Include=". . \Provider\PostgresProvider\PostgresUISupport\PostgresUISupport. csproj" /> |
| 52 | |
| 53 | ········<FwProject Include="..\NDOPackage\NDOPackage.csproj" /> |
| 54 | ········<FwProject Include="..\NDOEnhancer\NDOEnhancer\NDOEnhancer.csproj" /> |
| 55 | ········<FwProject Include="..\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask\NDOEnhancer.BuildTask.csproj"/--> |
| 56 | ····</ItemGroup> |
| 57 | |
| 58 | |
| 59 | ····<ItemGroup> |
| 60 | ········<NdoCore Include="$(NDO_DIR)\NDOInterfaces\NDOInterfaces.csproj" /> |
| 61 | ········<NdoCore Include="$(NDO_DIR)\NDODLL\NDO.csproj" /> |
| 62 | ····</ItemGroup> |
| 63 | |
| 64 | <ItemGroup> |
| 65 | <NdoTools Include="$( NDO_DIR) \SimpleMappingTool\Mapping. 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 | ····<ItemGroup> |
| 78 | ········<ProjectsToPatch Include="$(NDO_DIR)\NDOInterfaces\NDOInterfaces.csproj" ></ProjectsToPatch> |
| 79 | ········<ProjectsToPatch Include="$(NDO_DIR)\NDODLL\NDO.csproj" ></ProjectsToPatch> |
| 80 | ····</ItemGroup> |
| 81 | ···· |
| 82 | ····<Target Name="DeletePackages" BeforeTargets="CreatePackageDir"> |
| 83 | ········<RemoveDir Condition="Exists('$(PackagesDir)\%(PackProject.Identity)\$(Version)')" Directories="$(PackagesDir)\%(PackProject.Identity)\$(Version)" /> |
| 84 | ····</Target> |
| 85 | |
| 86 | ····<Target Name="CreatePackageDir" BeforeTargets="BuildTools"> |
| 87 | ········<MakeDir Condition="!Exists('$(PackageSourceFolder)')" Directories="$(PackageSourceFolder)" /> |
| 88 | ····</Target> |
| 89 | |
| 90 | ····<Target Name="BuildTools" BeforeTargets="PatchNdoVersion"> |
| 91 | ········<Message Text="Build Tools..."></Message> |
| 92 | ········<MSBuild Projects="@(Tools)" BuildInParallel="True" Targets="Build" Properties="Configuration=Release;Platform=AnyCPU" /> |
| 93 | ····</Target> |
| 94 | |
| 95 | ····<Target Name="PatchNdoVersion" BeforeTargets="Build"> |
| 96 | <Exec Command="$( TOOLS_DIR) \PatchNdoVersion\bin\Release\net8. 0\PatchNdoVersion %( NdoTools. Identity) $( Version) " /> |
| 97 | ····</Target> |
| 98 | ···· |
| 99 | ····<Target Name="RestoreMsg" BeforeTargets="Restore"> |
| 100 | ········<Message Text="$(Lala)"></Message> |
| 101 | ····</Target> |
| 102 | |
| 103 | |
| 104 | ····<Target Name="Build"> |
| 105 | ········<Message Text="Build..."></Message> |
| 106 | <MSBuild Projects="@( NdoCore) " Targets="restore" /> |
| 107 | <MSBuild Projects="@( NdoCore) " Targets="Rebuild" Properties="Configuration=$( Configuration) ;Platform=$( Platform) " /> |
| 108 | ········<MSBuild Projects="@(FwProject)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
| 109 | ········<MSBuild Projects="@(Provider)" Targets="Rebuild" Properties="Configuration=$(Configuration);Platform=$(Platform)" /> |
| 110 | ····</Target> |
| 111 | ·· |
| 112 | </Project> |