Skip to content

Commit 363d918

Browse files
authored
improve troubleshooting info (#34659)
1 parent c2b54ca commit 363d918

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/tools/sqlpackage/sqlpackage-download.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SqlPackage runs on Windows, macOS, and Linux, and is available to install throug
2727
SqlPackage is developed and released for both .NET 8 and .NET Framework. Installing the .NET 8 SqlPackage version is recommended via the [convenient `dotnet tool` method](#installation-cross-platform), which is cross-platform and easy to update, or via the [portable self-contained .zip download](#installation-file-download-alternative). The .NET 8 SqlPackage releases benefit from the continual advances to the performance and scalability of .NET as part of the [focus on for modern applications](/dotnet/core/introduction#net-ecosystem), which contrasts to the maintenance support of .NET Framework for Windows. The .NET Framework version is only available as a [.msi Windows installer](#windows-net-framework).
2828

2929
> [!NOTE]
30-
> Previously, SqlPackage had a distinct version number (19) and build number (160.x). Beginning with version 161, the version number of SqlPackage matches the DacFx version number it is associated with (for example, 162.0.52).
30+
> Previously, SqlPackage had a distinct version number (19) and build number (160.x). Beginning with version 161, the version number of SqlPackage matches the DacFx version number it's associated with (for example, 162.0.52).
3131
3232
## Installation, cross-platform
3333

@@ -65,13 +65,19 @@ If you encounter issues during installation, follow these steps:
6565

6666
If the .NET SDK isn't listed, download and install it from the [.NET SDK download page](https://dotnet.microsoft.com/download/dotnet/8.0).
6767

68-
2. **Verify NuGet source configuration**: Ensure that `nuget.org` is a configured NuGet source for dotnet. List the configured NuGet sources by running:
68+
2. **Verify NuGet source configuration**: SqlPackage is published to `nuget.org`, a public NuGet feed. You may encounter an error indicating that `microsoft.sqlpackage` can't be found:
69+
70+
```output
71+
microsoft.sqlpackage is not found in NuGet feeds C:\Program Files(x86)\Microsoft SDKs\NuGetPackages\
72+
```
73+
74+
Ensure that `nuget.org` is a configured NuGet source for dotnet. List the configured NuGet sources by running:
6975

7076
```bash
7177
dotnet nuget list source
7278
```
7379

74-
If `nuget.org` isn't listed, add it as a NuGet source using the following command:
80+
This command should display a list of NuGet sources. Look for `nuget.org` in the output, which is typically listed as `https://api.nuget.org/v3/index.json`. If `nuget.org` isn't listed, add it as a NuGet source using the following command:
7581

7682
```bash
7783
dotnet nuget add source https://api.nuget.org/v3/index.json
@@ -112,7 +118,7 @@ SqlPackage is also prepared as a self-contained download for Windows, macOS, and
112118
### Linux
113119

114120
1. Download [SqlPackage for Linux](https://aka.ms/sqlpackage-linux)
115-
1. Extract the file and launch SqlPackage, open a new Terminal window and type the following commands:
121+
1. Extract the file and launch SqlPackage. Open a new Terminal window and type the following commands:
116122

117123
```bash
118124
cd ~
@@ -149,7 +155,7 @@ SqlPackage is also prepared as a self-contained download for Windows, macOS, and
149155
### macOS
150156

151157
1. Download [SqlPackage for macOS](https://aka.ms/sqlpackage-macos)
152-
1. Extract the file and launch SqlPackage, open a new Terminal window and type the following commands:
158+
1. Extract the file and launch SqlPackage. Open a new Terminal window and type the following commands:
153159

154160
```bash
155161
mkdir sqlpackage
@@ -219,7 +225,7 @@ dotnet add package Microsoft.SqlServer.DacFx
219225
```
220226

221227
> [!NOTE]
222-
> Additional NuGet packages were published under the DacFx name, "Microsoft.SqlServer.DacFx.x64" and "Microsoft.SqlServer.DacFx.x86". Support for both platforms is covered under the "Microsoft.SqlServer.DacFx" package. New references should be made to this package, not the x64 or x86 variants.
228+
> Other NuGet packages were published under the DacFx name, `Microsoft.SqlServer.DacFx.x64` and `Microsoft.SqlServer.DacFx.x86`. Support for both platforms is covered under the `Microsoft.SqlServer.DacFx` package. New references should be made to this package, not the x64 or x86 variants.
223229
224230
## Supported Operating Systems
225231

0 commit comments

Comments
 (0)