|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 | +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 | <!-- Imports ========================================================= --> |
4 | 4 | <Import Project="src/Directory.Build.props" /> |
5 | 5 |
|
|
229 | 229 |
|
230 | 230 | <!-- |
231 | 231 | SigningKeyPath |
232 | | - Applies to: Build*, Pack* |
| 232 | + Applies to: Build*, Pack* (driver targets only) |
233 | 233 | Description: Path to the key to use to strong name sign binaries. If omitted, binaries |
234 | 234 | will not be strong name signed. |
235 | 235 | For Pack* targets, this only applies to a build - ie, if PackBuild is set to |
|
329 | 329 | <!-- Top Level/Miscellaneous Targets --> |
330 | 330 |
|
331 | 331 | <!-- |
332 | | - Build: Builds all packages |
| 332 | + Build: Builds all driver projects. This is the default target. |
333 | 333 | Note: These have been ordered in a vague attempt to minimize multiple rebuilds of dependencies. |
334 | 334 | --> |
335 | 335 | <Target Name="Build" DependsOnTargets="BuildLogging;BuildAbstractions;BuildSqlClient;BuildAzure;BuildAkvProvider;BuildSqlServer" /> |
336 | 336 |
|
| 337 | + <!-- Build all projects in the repo, for all supported OS and TargetFramework combinations.--> |
| 338 | + <Target Name="BuildAll" DependsOnTargets="Build;BuildTests;BuildSamples" /> |
| 339 | + |
337 | 340 | <!-- Clean: Convenience target to remove build/test output --> |
338 | 341 | <Target Name="Clean"> |
339 | 342 | <!-- Remove known build output paths --> |
|
346 | 349 | </Target> |
347 | 350 |
|
348 | 351 | <!-- |
349 | | - Pack: Packages all packages |
| 352 | + Pack: Packages all driver projects. |
350 | 353 | Note: These have been ordered in a vague attempt to minimize multiple rebuilds of dependencies. |
351 | 354 | --> |
352 | 355 | <Target Name="Pack" DependsOnTargets="PackLogging;PackAbstractions;PackSqlClient;PackAzure;PackAkvProvider;PackSqlServer" /> |
353 | 356 |
|
354 | 357 | <!-- |
355 | | - Test: Run all test targets for all packages. |
356 | | - Note: This will run for a *very* long time and it is not recommended, even in automated test |
357 | | - environments. Please consider running project specific test targets or specific test sets |
358 | | - within the project. |
| 358 | + Test: Run all test targets for all driver projects. |
| 359 | +
|
| 360 | + Note: This requires local and remote SQL Server setups with corresponding JSON configuration |
| 361 | + files. It will run for a *very* long time and it is not recommended, even in automated test |
| 362 | + environments. Please consider running project specific test targets or specific test sets within |
| 363 | + the project. |
359 | 364 | --> |
360 | 365 | <Target Name="Test" DependsOnTargets="TestAbstractions;TestAzure;TestSqlClient" /> |
361 | 366 |
|
|
400 | 405 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
401 | 406 | </PropertyGroup> |
402 | 407 |
|
403 | | - <Message Text=">>> Building GenAPI project via command: '$(DotnetCommand)'"/> |
| 408 | + <Message Importance="High" Text=">>> Building GenAPI project"/> |
| 409 | + <Message Text=" Command: $(DotnetCommand)"/> |
404 | 410 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
405 | 411 |
|
406 | 412 | <!-- Get the path to the GenAPI artifact --> |
|
429 | 435 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
430 | 436 | </PropertyGroup> |
431 | 437 |
|
432 | | - <Message Text=">>> Building not supported binaries project via command: '$(DotnetCommand)'"/> |
| 438 | + <Message Importance="High" Text=">>> Building not supported binaries project"/> |
| 439 | + <Message Text=" Command: $(DotnetCommand)"/> |
433 | 440 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
434 | 441 | </Target> |
435 | 442 |
|
|
454 | 461 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
455 | 462 | </PropertyGroup> |
456 | 463 |
|
457 | | - <Message Text=">>> Building SqlClient ref binaries via command: $(DotnetCommand)"/> |
| 464 | + <Message Importance="High" Text=">>> Building SqlClient ref binaries"/> |
| 465 | + <Message Text=" Command: $(DotnetCommand)"/> |
458 | 466 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
459 | 467 | </Target> |
460 | 468 |
|
|
481 | 489 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
482 | 490 | </PropertyGroup> |
483 | 491 |
|
484 | | - <Message Text=">>> Building SqlClient for Unix via command: $(DotnetCommand)"/> |
| 492 | + <Message Importance="High" Text=">>> Building SqlClient for Unix"/> |
| 493 | + <Message Text=" Command: $(DotnetCommand)"/> |
485 | 494 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
486 | 495 | </Target> |
487 | 496 |
|
|
507 | 516 | <!-- Convert more than one whitespace character into one space --> |
508 | 517 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
509 | 518 | </PropertyGroup> |
510 | | - <Message Text=">>> Building SqlClient for Windows via command: $(DotnetCommand)" /> |
| 519 | + <Message Importance="High" Text=">>> Building SqlClient for Windows"/> |
| 520 | + <Message Text=" Command: $(DotnetCommand)"/> |
511 | 521 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
512 | 522 | </Target> |
513 | 523 |
|
|
552 | 562 | <!-- Convert more than one whitespace character into one space --> |
553 | 563 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
554 | 564 | </PropertyGroup> |
555 | | - <Message Text=">>> Packing SqlClient via command: $(DotnetCommand)" /> |
| 565 | + <Message Importance="High" Text=">>> Packing SqlClient"/> |
| 566 | + <Message Text=" Command: $(DotnetCommand)"/> |
556 | 567 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
557 | 568 | </Target> |
558 | 569 |
|
|
586 | 597 | <!-- Convert more than one whitespace character into one space --> |
587 | 598 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
588 | 599 | </PropertyGroup> |
589 | | - <Message Text=">>> Running functional tests for SqlClient via command: $(DotnetCommand)" /> |
| 600 | + <Message Importance="High" Text=">>> Running functional tests for SqlClient"/> |
| 601 | + <Message Text=" Command: $(DotnetCommand)"/> |
590 | 602 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
591 | 603 | </Target> |
592 | 604 |
|
|
617 | 629 | <!-- Convert more than one whitespace character into one space --> |
618 | 630 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
619 | 631 | </PropertyGroup> |
620 | | - <Message Text=">>> Running manual tests for SqlClient via command: $(DotnetCommand)" /> |
| 632 | + <Message Importance="High" Text=">>> Running manual tests for SqlClient"/> |
| 633 | + <Message Text=" Command: $(DotnetCommand)"/> |
621 | 634 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
622 | 635 | </Target> |
623 | 636 |
|
|
645 | 658 | <!-- Convert more than one whitespace character into one space --> |
646 | 659 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
647 | 660 | </PropertyGroup> |
648 | | - <Message Text=">>> Running unit tests for SqlClient via command: $(DotnetCommand)" /> |
| 661 | + <Message Importance="High" Text=">>> Running unit tests for SqlClient"/> |
| 662 | + <Message Text=" Command: $(DotnetCommand)"/> |
649 | 663 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
650 | 664 | </Target> |
651 | 665 |
|
|
679 | 693 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
680 | 694 | </PropertyGroup> |
681 | 695 |
|
682 | | - <Message Text=">>> Building Microsoft.Data.SqlClient.AlwaysEncrpyted.AzureKeyVaultProvider via command: $(DotnetCommand)" /> |
| 696 | + <Message Importance="High" Text=">>> Building AKV Provider"/> |
| 697 | + <Message Text=" Command: $(DotnetCommand)"/> |
683 | 698 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
684 | 699 | </Target> |
685 | 700 |
|
|
707 | 722 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
708 | 723 | </PropertyGroup> |
709 | 724 |
|
710 | | - <Message Text=">>> Packaging Microsoft.Data.SqlClient.AlwaysEncrpyted.AzureKeyVaultProvider via command: $(DotnetCommand)" /> |
| 725 | + <Message Importance="High" Text=">>> Packaging AKV Provider"/> |
| 726 | + <Message Text=" Command: $(DotnetCommand)"/> |
711 | 727 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
712 | 728 | </Target> |
713 | 729 |
|
|
740 | 756 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
741 | 757 | </PropertyGroup> |
742 | 758 |
|
743 | | - <Message Text=">>> Building Microsoft.Data.SqlClient.Extensions.Abstractions via command: $(DotnetCommand)" /> |
| 759 | + <Message Importance="High" Text=">>> Building Abstractions"/> |
| 760 | + <Message Text=" Command: $(DotnetCommand)"/> |
744 | 761 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
745 | 762 | </Target> |
746 | 763 |
|
|
766 | 783 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
767 | 784 | </PropertyGroup> |
768 | 785 |
|
769 | | - <Message Text=">>> Packaging Microsoft.Data.SqlClient.Extensions.Abstractions via command: $(DotnetCommand)" /> |
| 786 | + <Message Importance="High" Text=">>> Packaging Abstractions"/> |
| 787 | + <Message Text=" Command: $(DotnetCommand)"/> |
770 | 788 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
771 | 789 | </Target> |
772 | 790 |
|
|
794 | 812 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
795 | 813 | </PropertyGroup> |
796 | 814 |
|
797 | | - <Message Text=">>> Running tests for Abstractions via command: $(DotnetCommand)" /> |
| 815 | + <Message Importance="High" Text=">>> Running tests for Abstractions"/> |
| 816 | + <Message Text=" Command: $(DotnetCommand)"/> |
798 | 817 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
799 | 818 | </Target> |
800 | 819 |
|
|
827 | 846 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
828 | 847 | </PropertyGroup> |
829 | 848 |
|
830 | | - <Message Text=">>> Building Microsoft.Data.SqlClient.Extensions.Azure via command: $(DotnetCommand)" /> |
| 849 | + <Message Importance="High" Text=">>> Building Azure"/> |
| 850 | + <Message Text=" Command: $(DotnetCommand)"/> |
831 | 851 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
832 | 852 | </Target> |
833 | 853 |
|
|
853 | 873 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
854 | 874 | </PropertyGroup> |
855 | 875 |
|
856 | | - <Message Text=">>> Packaging Microsoft.Data.SqlClient.Extensions.Azure via command: $(DotnetCommand)" /> |
| 876 | + <Message Importance="High" Text=">>> Packaging Azure"/> |
| 877 | + <Message Text=" Command: $(DotnetCommand)"/> |
857 | 878 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
858 | 879 | </Target> |
859 | 880 |
|
|
882 | 903 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
883 | 904 | </PropertyGroup> |
884 | 905 |
|
885 | | - <Message Text=">>> Running tests for Abstractions via command: $(DotnetCommand)" /> |
| 906 | + <Message Importance="High" Text=">>> Running tests for Azure"/> |
| 907 | + <Message Text=" Command: $(DotnetCommand)"/> |
886 | 908 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
887 | 909 | </Target> |
888 | 910 |
|
|
910 | 932 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
911 | 933 | </PropertyGroup> |
912 | 934 |
|
913 | | - <Message Text=">>> Building Microsoft.Data.SqlClient.Internal.Logging via command: $(DotnetCommand)" /> |
| 935 | + <Message Importance="High" Text=">>> Building Logging"/> |
| 936 | + <Message Text=" Command: $(DotnetCommand)"/> |
914 | 937 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
915 | 938 | </Target> |
916 | 939 |
|
|
932 | 955 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
933 | 956 | </PropertyGroup> |
934 | 957 |
|
935 | | - <Message Text=">>> Packaging Microsoft.Data.SqlClient.Internal.Logging via command: $(DotnetCommand)" /> |
| 958 | + <Message Importance="High" Text=">>> Packaging Logging"/> |
| 959 | + <Message Text=" Command: $(DotnetCommand)"/> |
936 | 960 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
937 | 961 | </Target> |
938 | 962 |
|
|
960 | 984 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
961 | 985 | </PropertyGroup> |
962 | 986 |
|
963 | | - <Message Text=">>> Building Microsoft.SqlServer.Server via command: $(DotnetCommand)" /> |
| 987 | + <Message Importance="High" Text=">>> Building SqlServer"/> |
| 988 | + <Message Text=" Command: $(DotnetCommand)"/> |
964 | 989 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
965 | 990 | </Target> |
966 | 991 |
|
|
982 | 1007 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
983 | 1008 | </PropertyGroup> |
984 | 1009 |
|
985 | | - <Message Text=">>> Packaging Microsoft.SqlServer.Server via command: $(DotnetCommand)" /> |
| 1010 | + <Message Importance="High" Text=">>> Packaging SqlServer"/> |
| 1011 | + <Message Text=" Command: $(DotnetCommand)"/> |
986 | 1012 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
987 | 1013 | </Target> |
| 1014 | + |
| 1015 | + <!-- ================================================================= --> |
| 1016 | + <!-- Ancillary Targets --> |
| 1017 | + |
| 1018 | + <!-- Set up the list of supported OSes. --> |
| 1019 | + <PropertyGroup> |
| 1020 | + <_OsList>Windows_NT;Unix</_OsList> |
| 1021 | + </PropertyGroup> |
| 1022 | + <ItemGroup> |
| 1023 | + <_OsValues Include="$(_OsList)" /> |
| 1024 | + </ItemGroup> |
| 1025 | + |
| 1026 | + <!-- Supply a common set of arguments to dotnet build. --> |
| 1027 | + <PropertyGroup> |
| 1028 | + <_DotnetArguments> |
| 1029 | + -p:Configuration=$(Configuration) |
| 1030 | + |
| 1031 | + <!-- Versioning arguments --> |
| 1032 | + $(BuildNumberArgument) |
| 1033 | + $(BuildSuffixArgument) |
| 1034 | + |
| 1035 | + <!-- Reference Type Arguments --> |
| 1036 | + $(ReferenceTypeArgument) |
| 1037 | + $(PackageVersionAbstractionsArgument) |
| 1038 | + $(PackageVersionAkvProviderArgument) |
| 1039 | + $(PackageVersionAzureArgument) |
| 1040 | + $(PackageVersionLoggingArgument) |
| 1041 | + $(PackageVersionSqlClientArgument) |
| 1042 | + $(PackageVersionSqlServerArgument) |
| 1043 | + </_DotnetArguments> |
| 1044 | + <!-- Convert more than one whitespace character into one space --> |
| 1045 | + <_DotnetArguments>$([System.Text.RegularExpressions.Regex]::Replace($(_DotnetArguments), "\s+", " "))</_DotnetArguments> |
| 1046 | + </PropertyGroup> |
| 1047 | + |
| 1048 | + <!-- |
| 1049 | + Define all of the ancillary project file paths. |
| 1050 | +
|
| 1051 | + These aren't all of the possible projects - only the top-level ones that, in turn, will |
| 1052 | + transitively build all ancillary projects. |
| 1053 | + --> |
| 1054 | + <PropertyGroup> |
| 1055 | + <AbstractionsTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient.Extensions/Abstractions/test/Abstractions.Test.csproj</AbstractionsTestsProjectPath> |
| 1056 | + <UnitTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj</UnitTestsProjectPath> |
| 1057 | + <FunctionalTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient/tests/FunctionalTests/Microsoft.Data.SqlClient.FunctionalTests.csproj</FunctionalTestsProjectPath> |
| 1058 | + <ManualTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTests.csproj</ManualTestsProjectPath> |
| 1059 | + <PerformanceTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient/tests/PerformanceTests/Microsoft.Data.SqlClient.PerformanceTests.csproj</PerformanceTestsProjectPath> |
| 1060 | + <StressTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient/tests/StressTests/SqlClient.Stress.Runner/SqlClient.Stress.Runner.csproj</StressTestsProjectPath> |
| 1061 | + <AzureTestsProjectPath>$(RepoRoot)src/Microsoft.Data.SqlClient.Extensions/Azure/test/Azure.Test.csproj</AzureTestsProjectPath> |
| 1062 | + |
| 1063 | + <SamplesProjectPath>$(RepoRoot)doc/samples/Microsoft.Data.SqlClient.Samples.csproj</SamplesProjectPath> |
| 1064 | + </PropertyGroup> |
| 1065 | + |
| 1066 | + <!-- Build all test projects. --> |
| 1067 | + <Target Name="BuildTests"> |
| 1068 | + |
| 1069 | + <!-- SqlServer has no tests to build. --> |
| 1070 | + |
| 1071 | + <!-- Logging has no tests to build. --> |
| 1072 | + |
| 1073 | + <!-- Build Abstractions tests, which don't have conditional TFMs. --> |
| 1074 | + <Message Importance="High" Text=">>> Building Abstractions.Tests"/> |
| 1075 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1076 | + <Exec ConsoleToMsBuild="true" |
| 1077 | + Command=""$(DotnetPath)dotnet" build "$(AbstractionsTestsProjectPath)" $(_DotnetArguments)" /> |
| 1078 | + |
| 1079 | + <!-- Build SqlClient UnitTests (project references only, no ReferenceType). --> |
| 1080 | + <Message Importance="High" Text=">>> Building SqlClient UnitTests for %(_OsValues.Identity)"/> |
| 1081 | + <Exec ConsoleToMsBuild="true" |
| 1082 | + Command=""$(DotnetPath)dotnet" build "$(UnitTestsProjectPath)" -p:Configuration=$(Configuration) -p:OS=%(_OsValues.Identity)" /> |
| 1083 | + |
| 1084 | + <!-- Build SqlClient FunctionalTests. --> |
| 1085 | + <Message Importance="High" Text=">>> Building SqlClient FunctionalTests for %(_OsValues.Identity)"/> |
| 1086 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1087 | + <Exec ConsoleToMsBuild="true" |
| 1088 | + Command=""$(DotnetPath)dotnet" build "$(FunctionalTestsProjectPath)" $(_DotnetArguments) -p:OS=%(_OsValues.Identity)" /> |
| 1089 | + |
| 1090 | + <!-- Build SqlClient ManualTests. --> |
| 1091 | + <Message Importance="High" Text=">>> Building SqlClient ManualTests for %(_OsValues.Identity)"/> |
| 1092 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1093 | + <Exec ConsoleToMsBuild="true" |
| 1094 | + Command=""$(DotnetPath)dotnet" build "$(ManualTestsProjectPath)" $(_DotnetArguments) -p:OS=%(_OsValues.Identity)" /> |
| 1095 | + |
| 1096 | + <!-- Build SqlClient PerformanceTests. --> |
| 1097 | + <Message Importance="High" Text=">>> Building SqlClient PerformanceTests for %(_OsValues.Identity)"/> |
| 1098 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1099 | + <Exec ConsoleToMsBuild="true" |
| 1100 | + Command=""$(DotnetPath)dotnet" build "$(PerformanceTestsProjectPath)" $(_DotnetArguments) -p:OS=%(_OsValues.Identity)" /> |
| 1101 | + |
| 1102 | + <!-- Build SqlClient StressTests. --> |
| 1103 | + <Message Importance="High" Text=">>> Building SqlClient StressTests for %(_OsValues.Identity)"/> |
| 1104 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1105 | + <Exec ConsoleToMsBuild="true" |
| 1106 | + Command=""$(DotnetPath)dotnet" build "$(StressTestsProjectPath)" $(_DotnetArguments) -p:OS=%(_OsValues.Identity)" /> |
| 1107 | + |
| 1108 | + <!-- Build Azure tests. --> |
| 1109 | + <Message Importance="High" Text=">>> Building Azure.Tests for %(_OsValues.Identity)"/> |
| 1110 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1111 | + <Exec ConsoleToMsBuild="true" |
| 1112 | + Command=""$(DotnetPath)dotnet" build "$(AzureTestsProjectPath)" $(_DotnetArguments) -p:OS=%(_OsValues.Identity)" /> |
| 1113 | + |
| 1114 | + <!-- AKV Provider has no tests to build. --> |
| 1115 | + |
| 1116 | + </Target> |
| 1117 | + |
| 1118 | + <!-- Build all sample projects. --> |
| 1119 | + <Target Name="BuildSamples"> |
| 1120 | + <Message Importance="High" Text=">>> Building Samples"/> |
| 1121 | + <Message Text=" Arguments: $(_DotnetArguments)"/> |
| 1122 | + <Exec ConsoleToMsBuild="true" |
| 1123 | + Command=""$(DotnetPath)dotnet" build "$(SamplesProjectPath)" $(_DotnetArguments)" /> |
| 1124 | + </Target> |
| 1125 | + |
988 | 1126 | </Project> |
0 commit comments