|
139 | 139 |
|
140 | 140 | <!-- |
141 | 141 | ReferenceType |
142 | | - Applies to: BuildSqlClient, BuildSqlClientUnix, BuildSqlClientWindows |
| 142 | + Applies to: BuildSqlClient, BuildSqlClientImpl |
143 | 143 | Description: Determines how to build SqlClient. If set to "Project", any cross-project |
144 | 144 | references (eg, Abstractions from SqlClient) will be made as project |
145 | 145 | references. If set to "Package", package references will be made instead. When |
|
426 | 426 |
|
427 | 427 | <!-- Build SqlClient Targets =============================================== --> |
428 | 428 | <!-- BuildSqlClient: Builds all binaries for SqlClient --> |
429 | | - <Target Name="BuildSqlClient" DependsOnTargets="BuildSqlClientUnix;BuildSqlClientWindows;BuildSqlClientRef;BuildSqlClientNotSupported" /> |
| 429 | + <Target Name="BuildSqlClient" DependsOnTargets="BuildSqlClientImpl;BuildSqlClientRef;BuildSqlClientNotSupported" /> |
430 | 430 |
|
431 | 431 | <!-- |
432 | 432 | BuildSqlClientNotSupported: Builds a version of the SqlClient assemblies that always throws |
|
509 | 509 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
510 | 510 | </Target> |
511 | 511 |
|
512 | | - <!-- BuildSqlClientUnix: Builds all unix-specific SqlClient binaries --> |
| 512 | + <!-- BuildSqlClientImpl: Builds implementation assemblies of SqlClient --> |
513 | 513 | <PropertyGroup> |
514 | | - <BuildSqlClientUnixDependsOn Condition="'$(ReferenceType.ToLower())' == 'package' AND '$(SkipDependencyPack)' != 'true'">PackLogging;PackAbstractions;PackSqlServer</BuildSqlClientUnixDependsOn> |
| 514 | + <BuildSqlClientImplDependsOn Condition="'$(ReferenceType.ToLower())' == 'package' AND '$(SkipDependencyPack)' != 'true'">PackLogging;PackAbstractions;PackSqlServer</BuildSqlClientImplDependsOn> |
515 | 515 | </PropertyGroup> |
516 | | - <Target Name="BuildSqlClientUnix" DependsOnTargets="$(BuildSqlClientUnixDependsOn)"> |
| 516 | + <Target Name="BuildSqlClientImpl" DependsOnTargets="$(BuildSqlClientImplDependsOn)"> |
517 | 517 | <PropertyGroup> |
518 | 518 | <DotnetCommand> |
519 | 519 | "$(DotnetPath)dotnet" build $(SqlClientProjectPath) |
520 | 520 | -p:Configuration=$(Configuration) |
521 | | - -p:TargetOs=Unix |
522 | 521 | $(SigningKeyPathArgument) |
523 | 522 |
|
524 | 523 | <!-- Versioning arguments --> |
|
534 | 533 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
535 | 534 | </PropertyGroup> |
536 | 535 |
|
537 | | - <Message Importance="High" Text=">>> Building SqlClient for Unix"/> |
538 | | - <Message Text=" Command: $(DotnetCommand)"/> |
539 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
540 | | - </Target> |
541 | | - |
542 | | - <!-- BuildSqlClientWindows: Builds all windows-specific SqlClient binaries --> |
543 | | - <PropertyGroup> |
544 | | - <BuildSqlClientWindowsDependsOn Condition="'$(ReferenceType.ToLower())' == 'package' AND '$(SkipDependencyPack)' != 'true'">PackLogging;PackAbstractions;PackSqlServer</BuildSqlClientWindowsDependsOn> |
545 | | - </PropertyGroup> |
546 | | - <Target Name="BuildSqlClientWindows" DependsOnTargets="$(BuildSqlClientWindowsDependsOn)"> |
547 | | - <PropertyGroup> |
548 | | - <DotnetCommand> |
549 | | - "$(DotnetPath)dotnet" build $(SqlClientProjectPath) |
550 | | - -p:Configuration=$(Configuration) |
551 | | - -p:TargetOs=Windows_NT |
552 | | - $(SigningKeyPathArgument) |
553 | | - |
554 | | - <!-- Versioning Arguments --> |
555 | | - $(BuildNumberArgument) |
556 | | - $(BuildSuffixArgument) |
557 | | - $(PackageVersionSqlClientArgument) |
558 | | - |
559 | | - <!-- Reference Type Arguments --> |
560 | | - $(ReferenceTypeArgument) |
561 | | - $(PackageVersionSqlServerArgument) |
562 | | - </DotnetCommand> |
563 | | - <!-- Convert more than one whitespace character into one space --> |
564 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
565 | | - </PropertyGroup> |
566 | | - <Message Importance="High" Text=">>> Building SqlClient for Windows"/> |
| 536 | + <Message Importance="High" Text=">>> Building SqlClient Implementation"/> |
567 | 537 | <Message Text=" Command: $(DotnetCommand)"/> |
568 | 538 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
569 | 539 | </Target> |
|
1212 | 1182 | </Target> |
1213 | 1183 |
|
1214 | 1184 | <!-- BuildSqlClientTestsUnit ================================================= --> |
1215 | | - <Target Name="BuildSqlClientTestsUnit" DependsOnTargets="BuildSqlClientTestsUnitUnix;BuildSqlClientTestsUnitWindows" /> |
1216 | | - |
1217 | | - <Target Name="BuildSqlClientTestsUnitUnix"> |
| 1185 | + <Target Name="BuildSqlClientTestsUnit"> |
1218 | 1186 | <PropertyGroup> |
1219 | 1187 | <DotnetCommand> |
1220 | 1188 | "$(DotnetPath)dotnet" build "$(SqlClientUnitTestProjectPath)" |
1221 | 1189 | -p:Configuration=$(Configuration) |
1222 | | - -p:TargetOs=Unix |
1223 | 1190 |
|
1224 | 1191 | <!-- Reference Type Arguments --> |
1225 | 1192 | $(ReferenceTypeArgument) |
|
1229 | 1196 | </DotnetCommand> |
1230 | 1197 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1231 | 1198 | </PropertyGroup> |
1232 | | - <Message Importance="High" Text=">>> Building SqlClient Unit Tests for Unix"/> |
1233 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1234 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1235 | | - </Target> |
1236 | | - |
1237 | | - <Target Name="BuildSqlClientTestsUnitWindows"> |
1238 | | - <PropertyGroup> |
1239 | | - <DotnetCommand> |
1240 | | - "$(DotnetPath)dotnet" build "$(SqlClientUnitTestProjectPath)" |
1241 | | - -p:Configuration=$(Configuration) |
1242 | | - -p:TargetOs=Windows_NT |
1243 | | - |
1244 | | - <!-- Reference Type Arguments --> |
1245 | | - $(ReferenceTypeArgument) |
1246 | | - $(TestSigningKeyPathArgument) |
1247 | | - $(PackageVersionSqlClientArgument) |
1248 | | - $(PackageVersionSqlServerArgument) |
1249 | | - </DotnetCommand> |
1250 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1251 | | - </PropertyGroup> |
1252 | | - <Message Importance="High" Text=">>> Building SqlClient Unit Tests for Windows"/> |
| 1199 | + <Message Importance="High" Text=">>> Building SqlClient Unit Tests"/> |
1253 | 1200 | <Message Text=" Command: $(DotnetCommand)"/> |
1254 | 1201 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1255 | 1202 | </Target> |
1256 | 1203 |
|
1257 | 1204 | <!-- BuildSqlClientTestsFunctional =========================================== --> |
1258 | | - <Target Name="BuildSqlClientTestsFunctional" DependsOnTargets="BuildSqlClientTestsFunctionalUnix;BuildSqlClientTestsFunctionalWindows" /> |
1259 | | - |
1260 | | - <Target Name="BuildSqlClientTestsFunctionalUnix"> |
1261 | | - <PropertyGroup> |
1262 | | - <DotnetCommand> |
1263 | | - "$(DotnetPath)dotnet" build "$(SqlClientFunctionalTestProjectPath)" |
1264 | | - -p:Configuration=$(Configuration) |
1265 | | - -p:TargetOs=Unix |
1266 | | - |
1267 | | - <!-- Reference Type Arguments --> |
1268 | | - $(ReferenceTypeArgument) |
1269 | | - $(PackageVersionAbstractionsArgument) |
1270 | | - $(PackageVersionLoggingArgument) |
1271 | | - $(PackageVersionSqlClientArgument) |
1272 | | - </DotnetCommand> |
1273 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1274 | | - </PropertyGroup> |
1275 | | - <Message Importance="High" Text=">>> Building SqlClient Functional Tests for Unix"/> |
1276 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1277 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1278 | | - </Target> |
1279 | | - |
1280 | | - <Target Name="BuildSqlClientTestsFunctionalWindows"> |
| 1205 | + <Target Name="BuildSqlClientTestsFunctional"> |
1281 | 1206 | <PropertyGroup> |
1282 | 1207 | <DotnetCommand> |
1283 | 1208 | "$(DotnetPath)dotnet" build "$(SqlClientFunctionalTestProjectPath)" |
1284 | 1209 | -p:Configuration=$(Configuration) |
1285 | | - -p:TargetOs=Windows_NT |
1286 | 1210 |
|
1287 | 1211 | <!-- Reference Type Arguments --> |
1288 | 1212 | $(ReferenceTypeArgument) |
|
1292 | 1216 | </DotnetCommand> |
1293 | 1217 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1294 | 1218 | </PropertyGroup> |
1295 | | - <Message Importance="High" Text=">>> Building SqlClient Functional Tests for Windows"/> |
| 1219 | + <Message Importance="High" Text=">>> Building SqlClient Functional Tests"/> |
1296 | 1220 | <Message Text=" Command: $(DotnetCommand)"/> |
1297 | 1221 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1298 | 1222 | </Target> |
1299 | 1223 |
|
1300 | 1224 | <!-- BuildSqlClientTestsManual =============================================== --> |
1301 | | - <Target Name="BuildSqlClientTestsManual" DependsOnTargets="BuildSqlClientTestsManualUnix;BuildSqlClientTestsManualWindows" /> |
1302 | | - |
1303 | | - <Target Name="BuildSqlClientTestsManualUnix"> |
1304 | | - <PropertyGroup> |
1305 | | - <DotnetCommand> |
1306 | | - "$(DotnetPath)dotnet" build "$(SqlClientManualTestProjectPath)" |
1307 | | - -p:Configuration=$(Configuration) |
1308 | | - -p:TargetOs=Unix |
1309 | | - |
1310 | | - <!-- Reference Type Arguments --> |
1311 | | - $(ReferenceTypeArgument) |
1312 | | - $(PackageVersionAbstractionsArgument) |
1313 | | - $(PackageVersionLoggingArgument) |
1314 | | - $(PackageVersionSqlClientArgument) |
1315 | | - $(PackageVersionSqlServerArgument) |
1316 | | - </DotnetCommand> |
1317 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1318 | | - </PropertyGroup> |
1319 | | - <Message Importance="High" Text=">>> Building SqlClient Manual Tests for Unix"/> |
1320 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1321 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1322 | | - </Target> |
1323 | | - |
1324 | | - <Target Name="BuildSqlClientTestsManualWindows"> |
| 1225 | + <Target Name="BuildSqlClientTestsManual"> |
1325 | 1226 | <PropertyGroup> |
1326 | 1227 | <DotnetCommand> |
1327 | 1228 | "$(DotnetPath)dotnet" build "$(SqlClientManualTestProjectPath)" |
1328 | 1229 | -p:Configuration=$(Configuration) |
1329 | | - -p:TargetOs=Windows_NT |
1330 | 1230 |
|
1331 | 1231 | <!-- Reference Type Arguments --> |
1332 | 1232 | $(ReferenceTypeArgument) |
|
1337 | 1237 | </DotnetCommand> |
1338 | 1238 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1339 | 1239 | </PropertyGroup> |
1340 | | - <Message Importance="High" Text=">>> Building SqlClient Manual Tests for Windows"/> |
| 1240 | + <Message Importance="High" Text=">>> Building SqlClient Manual Tests"/> |
1341 | 1241 | <Message Text=" Command: $(DotnetCommand)"/> |
1342 | 1242 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1343 | 1243 | </Target> |
1344 | 1244 |
|
1345 | 1245 | <!-- BuildSqlClientTestsPerformance ========================================== --> |
1346 | | - <Target Name="BuildSqlClientTestsPerformance" DependsOnTargets="BuildSqlClientTestsPerformanceUnix;BuildSqlClientTestsPerformanceWindows" /> |
1347 | | - |
1348 | | - <Target Name="BuildSqlClientTestsPerformanceUnix"> |
| 1246 | + <Target Name="BuildSqlClientTestsPerformance"> |
1349 | 1247 | <PropertyGroup> |
1350 | 1248 | <DotnetCommand> |
1351 | 1249 | "$(DotnetPath)dotnet" build "$(SqlClientPerformanceTestProjectPath)" |
1352 | 1250 | -p:Configuration=$(Configuration) |
1353 | | - -p:TargetOs=Unix |
1354 | 1251 |
|
1355 | 1252 | <!-- Reference Type Arguments --> |
1356 | 1253 | $(ReferenceTypeArgument) |
|
1360 | 1257 | </DotnetCommand> |
1361 | 1258 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1362 | 1259 | </PropertyGroup> |
1363 | | - <Message Importance="High" Text=">>> Building SqlClient Performance Tests for Unix"/> |
1364 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1365 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1366 | | - </Target> |
1367 | | - |
1368 | | - <Target Name="BuildSqlClientTestsPerformanceWindows"> |
1369 | | - <PropertyGroup> |
1370 | | - <DotnetCommand> |
1371 | | - "$(DotnetPath)dotnet" build "$(SqlClientPerformanceTestProjectPath)" |
1372 | | - -p:Configuration=$(Configuration) |
1373 | | - -p:TargetOs=Windows_NT |
1374 | | - |
1375 | | - <!-- Reference Type Arguments --> |
1376 | | - $(ReferenceTypeArgument) |
1377 | | - $(PackageVersionAbstractionsArgument) |
1378 | | - $(PackageVersionLoggingArgument) |
1379 | | - $(PackageVersionSqlClientArgument) |
1380 | | - </DotnetCommand> |
1381 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1382 | | - </PropertyGroup> |
1383 | | - <Message Importance="High" Text=">>> Building SqlClient Performance Tests for Windows"/> |
| 1260 | + <Message Importance="High" Text=">>> Building SqlClient Performance Tests"/> |
1384 | 1261 | <Message Text=" Command: $(DotnetCommand)"/> |
1385 | 1262 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1386 | 1263 | </Target> |
1387 | 1264 |
|
1388 | 1265 | <!-- BuildSqlClientTestsStress =============================================== --> |
1389 | | - <Target Name="BuildSqlClientTestsStress" DependsOnTargets="BuildSqlClientTestsStressUnix;BuildSqlClientTestsStressWindows" /> |
1390 | | - |
1391 | | - <Target Name="BuildSqlClientTestsStressUnix"> |
| 1266 | + <Target Name="BuildSqlClientTestsStress"> |
1392 | 1267 | <PropertyGroup> |
1393 | 1268 | <DotnetCommand> |
1394 | 1269 | "$(DotnetPath)dotnet" build "$(SqlClientStressTestProjectPath)" |
1395 | 1270 | -p:Configuration=$(Configuration) |
1396 | | - -p:TargetOs=Unix |
1397 | 1271 |
|
1398 | 1272 | <!-- Reference Type Arguments --> |
1399 | 1273 | $(ReferenceTypeArgument) |
|
1403 | 1277 | </DotnetCommand> |
1404 | 1278 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1405 | 1279 | </PropertyGroup> |
1406 | | - <Message Importance="High" Text=">>> Building SqlClient Stress Tests for Unix"/> |
1407 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1408 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1409 | | - </Target> |
1410 | | - |
1411 | | - <Target Name="BuildSqlClientTestsStressWindows"> |
1412 | | - <PropertyGroup> |
1413 | | - <DotnetCommand> |
1414 | | - "$(DotnetPath)dotnet" build "$(SqlClientStressTestProjectPath)" |
1415 | | - -p:Configuration=$(Configuration) |
1416 | | - -p:TargetOs=Windows_NT |
1417 | | - |
1418 | | - <!-- Reference Type Arguments --> |
1419 | | - $(ReferenceTypeArgument) |
1420 | | - $(PackageVersionAbstractionsArgument) |
1421 | | - $(PackageVersionLoggingArgument) |
1422 | | - $(PackageVersionSqlClientArgument) |
1423 | | - </DotnetCommand> |
1424 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1425 | | - </PropertyGroup> |
1426 | | - <Message Importance="High" Text=">>> Building SqlClient Stress Tests for Windows"/> |
| 1280 | + <Message Importance="High" Text=">>> Building SqlClient Stress Tests"/> |
1427 | 1281 | <Message Text=" Command: $(DotnetCommand)"/> |
1428 | 1282 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1429 | 1283 | </Target> |
1430 | 1284 |
|
1431 | 1285 | <!-- BuildAzureTests ========================================================= --> |
1432 | | - <Target Name="BuildAzureTests" DependsOnTargets="BuildAzureTestsUnix;BuildAzureTestsWindows" /> |
1433 | | - |
1434 | | - <Target Name="BuildAzureTestsUnix"> |
1435 | | - <PropertyGroup> |
1436 | | - <DotnetCommand> |
1437 | | - "$(DotnetPath)dotnet" build "$(AzureTestProjectPath)" |
1438 | | - -p:Configuration=$(Configuration) |
1439 | | - -p:TargetOs=Unix |
1440 | | - |
1441 | | - <!-- Reference Type Arguments --> |
1442 | | - $(ReferenceTypeArgument) |
1443 | | - $(PackageVersionSqlClientArgument) |
1444 | | - </DotnetCommand> |
1445 | | - <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1446 | | - </PropertyGroup> |
1447 | | - <Message Importance="High" Text=">>> Building Azure Tests for Unix"/> |
1448 | | - <Message Text=" Command: $(DotnetCommand)"/> |
1449 | | - <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1450 | | - </Target> |
1451 | | - |
1452 | | - <Target Name="BuildAzureTestsWindows"> |
| 1286 | + <Target Name="BuildAzureTests"> |
1453 | 1287 | <PropertyGroup> |
1454 | 1288 | <DotnetCommand> |
1455 | 1289 | "$(DotnetPath)dotnet" build "$(AzureTestProjectPath)" |
1456 | 1290 | -p:Configuration=$(Configuration) |
1457 | | - -p:TargetOs=Windows_NT |
1458 | 1291 |
|
1459 | 1292 | <!-- Reference Type Arguments --> |
1460 | 1293 | $(ReferenceTypeArgument) |
1461 | 1294 | $(PackageVersionSqlClientArgument) |
1462 | 1295 | </DotnetCommand> |
1463 | 1296 | <DotnetCommand>$([System.Text.RegularExpressions.Regex]::Replace($(DotnetCommand), "\s+", " "))</DotnetCommand> |
1464 | 1297 | </PropertyGroup> |
1465 | | - <Message Importance="High" Text=">>> Building Azure Tests for Windows"/> |
| 1298 | + <Message Importance="High" Text=">>> Building Azure Tests"/> |
1466 | 1299 | <Message Text=" Command: $(DotnetCommand)"/> |
1467 | 1300 | <Exec ConsoleToMsBuild="true" Command="$(DotnetCommand)" /> |
1468 | 1301 | </Target> |
|
0 commit comments