Skip to content

Commit

Permalink
Update Test-Proxy install instructions (#9600)
Browse files Browse the repository at this point in the history
Update to modern .NET recommendation, and simplify instructions with the `--prerelease` switch I asked for and was implemented a couple years ago.
  • Loading branch information
heaths authored Jan 7, 2025
1 parent 9b9981e commit e6d16cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ For a more detailed explanation of how the test proxy works, along with links to

### Via Local Compile or .NET

1. [Install .NET 5.0 or 6.0](https://dotnet.microsoft.com/download)
2. Install test-proxy
1. [Install .NET 8.0 (LTS) or 9.0](https://dotnet.microsoft.com/download)
2. Install or update test-proxy

```powershell
dotnet tool update azure.sdk.tools.testproxy --global --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --version "1.0.0-dev*" --ignore-failed-sources
dotnet tool update azure.sdk.tools.testproxy --global --prerelease --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --ignore-failed-sources
```

The test-proxy is also available from the [azure-sdk-for-net public feed](https://dev.azure.com/azure-sdk/public/_artifacts/feed/azure-sdk-for-net)

_Note: if you're not authorized to access these feeds, make sure you have [Azure Artifacts Credential Provider](https://github.com/microsoft/artifacts-credprovider) installed. You can also [download executable](#via-standalone-executable)._

To uninstall an existing test-proxy
To uninstall an existing test-proxy:

```powershell
dotnet tool uninstall --global azure.sdk.tools.testproxy
Expand Down

0 comments on commit e6d16cf

Please sign in to comment.