Amazon CodeCatalyst will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For more information, see How to migrate from CodeCatalyst.
Using CodeCatalyst with Visual Studio
You can consume packages from CodeCatalyst directly in Visual Studio.
To configure and use NuGet with CLI tools such as dotnet or nuget, see Configuring and using the nuget or dotnet
CLI.
Configuring Visual Studio with CodeCatalyst
Windows
To configure Visual Studio with CodeCatalyst
A personal access token (PAT) is required to authenticate with CodeCatalyst. If you already have one, you can use that. If not, follow the instructions in Grant users repository access with personal access tokens to create one.
Use
nugetordotnetto configure your package repository and credentials.Example output:
Package source with Name:repo_nameadded successfully.Configure Visual Studio to use your new package source. In Visual Studio, choose Tools, and then choose Options.
In the Options menu, expand the NuGet Package Manager section and choose Package Sources.
In the Available package sources list, make sure that your
repo_namesource is enabled. If you have configured your package repository with an upstream connection to the NuGet Gallery, disable the nuget.org source .
macOS
To configure Visual Studio with CodeCatalyst
A personal access token (PAT) is required to authenticate with CodeCatalyst. If you already have one, you can use that. If not, follow the instructions in Grant users repository access with personal access tokens to create one.
Choose Preferences from the menu bar.
In the NuGet section, choose Sources.
Choose Add and add your repository information.
For Name, enter your CodeCatalyst package repository name.
For Location, enter your CodeCatalyst package repository endpoint. The following snippet shows an example endpoint. Replace
space-name,proj-name, andrepo-namewith your CodeCatalyst space name, project name, and repository name.https://packages.region.codecatalyst.aws/nuget/space-name/proj-name/repo-name/For Username, enter any valid value.
For Password, enter your PAT.
Choose Add source.
If you have configured your package repository with an upstream connection to the NuGet Gallery, disable the nuget.org source.
After configuration, Visual Studio can consume packages from your CodeCatalyst repository, any of its upstream repositories,
or from NuGet.org