You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Removed use of MSBuild in pipelines and documentation.
- Legacy build.proj still uses it, and will be replaced shortly by build2.proj which uses the dotnet CLI exclusively.
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The project includes:
21
21
-**Manual Tests**: Located in `tests/ManualTests/` directory, which includes tests that require a SQL Server instance to run.
22
22
-**Documentation**: Found in the `doc/` directory, including API documentation, usage examples.
23
23
-**Policies**: Contribution guidelines, coding standards, and review policies in the `policy/` directory.
24
-
-**Building**: The project uses MSBuild for building and testing, with configurations and targets defined in the `build.proj` file, whereas instructions are provided in the `BUILDGUIDE.md` file.
24
+
-**Building**: The project uses `dotnet build` for building and testing, with configurations and targets defined in the `build.proj` file, whereas instructions are provided in the `BUILDGUIDE.md` file.
25
25
-**CI/CD**: ADO Pipelines for CI/CD and Pull request validation are defined in the `eng/` directory, ensuring code quality and automated testing.
Copy file name to clipboardExpand all lines: .github/instructions/architecture.instructions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The `netcore/` and `netfx/` directories are legacy artifacts from the old dual-p
48
48
-`netcore/ref/` and `netfx/ref/` — **STILL ACTIVE**. Reference assemblies remain in these directories and define the public API surface for each target framework.
49
49
50
50
### OS Targeting with `TargetOs`
51
-
The unified project uses a `TargetOs`MSBuild property to handle OS-specific compilation:
51
+
The unified project uses a `TargetOs`build property to handle OS-specific compilation:
Copy file name to clipboardExpand all lines: BUILDGUIDE.md
+19-24Lines changed: 19 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,15 @@ This document provides all the necessary details to build the driver and run tes
6
6
7
7
### .NET SDK
8
8
9
-
The projects in this repo require the .NET 10.0 SDK to build. Please ensure you
10
-
have the latest version of that SDK installed.
9
+
The projects in this repo require the .NET 10.0 SDK to build and test. Please ensure you have the
10
+
latest version of that SDK installed.
11
11
12
-
Tests and tools may require different .NET Runtimes that may be installed
13
-
independently. For example, tests targeting .NET 8.0 will need that runtime
14
-
installed.
12
+
Tests and tools may require different .NET Runtimes that may be installed independently. For
13
+
example, tests targeting .NET 8.0 will need that runtime installed.
15
14
16
-
### Visual Studio
15
+
### PowerShell
17
16
18
-
This project should be built with Visual Studio 2019+ for the best compatibility. The required set of components are provided in the below file:
19
-
20
-
-**Visual Studio 2019** with imported components: [VS19Components](/tools/vsconfig/VS19Components.vsconfig)
21
-
22
-
-**Powershell**: To build SqlClient on Linux, powershell is needed as well. Follow the distro specific instructions at [Install Powershell on Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.4)
17
+
To build SqlClient on Linux, PowerShell is needed. Follow the distro specific instructions at [Install PowerShell on Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.4)
23
18
24
19
Once the environment is setup properly, execute the desired set of commands below from the _root_ folder to perform the respective operations:
25
20
@@ -57,7 +52,7 @@ Manual Tests require the below setup to run:
57
52
|IsManagedInstance | (Optional) When set to `true`**TVP** related tests will use non-Azure bsl files to compare test results. This is needed when testing against Azure Managed Instances; otherwise TVP Tests will fail on TestSet 3. The default value is `false`. |
58
53
|PowerShellPath | The full path to PowerShell.exe. This is not required if the path is present in the PATH environment variable. |`D:\\escaped\\absolute\\path\\to\\PowerShell.exe`|
59
54
60
-
## MSBuild Reference
55
+
## Build Reference
61
56
62
57
### Targets
63
58
@@ -87,7 +82,7 @@ The following build targets are defined in `build.proj`:
87
82
88
83
### Parameters
89
84
90
-
The following parameters may be defined as MSBuild properties to configure the
85
+
The following parameters may be defined as properties to configure the
91
86
build:
92
87
93
88
|Name|Supported Values|Default|Description|
@@ -100,43 +95,43 @@ build:
100
95
|`TF`|`net8.0`, `net462`, `net47`, `net471`, `net472`, `net48`, `net481`|`net9.0` in netcore, `net462` in netfx|Sets the target framework when building or running tests. Not applicable when building the drivers.|
101
96
|`ResultsDirectory`|An absolute file path|./TestResults relative to current directory|Specifies where to write test results.|
102
97
103
-
## Example Commands to Run Tests Using MSBuild (Recommended)
98
+
## Example Commands to Run Tests Using `dotnet build` (Recommended)
104
99
105
100
Using the default configuration and running all tests:
0 commit comments