Removed mklink for git
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
---
|
||||
type: "topic"
|
||||
assigned: ""
|
||||
created: "2024-01-12T16:48:17.489Z"
|
||||
updated: "2024-01-12T16:48:17.489Z"
|
||||
assigned: ''
|
||||
created: '"2024-01-12T16:48:17.489Z"'
|
||||
type: '"topic"'
|
||||
updated: 2024-08-08T20:15:21.985Z
|
||||
---
|
||||
|
||||
# Artifactory
|
||||
@ -33,3 +33,116 @@ dotnet nuget disable source "nuget.org"
|
||||
dotnet nuget disable source "Artifactory"
|
||||
dotnet nuget list source
|
||||
```
|
||||
|
||||
```bash Thu Aug 07 2024 14:13:23 GMT-0700 (Mountain Standard Time)
|
||||
Set Up a NuGet client
|
||||
|
||||
Repository
|
||||
ngt-fi-package-main-vir
|
||||
Check out our new NuGet Symbol Server configuration
|
||||
ConfigureResolve
|
||||
The token has been generated successfully!
|
||||
|
||||
asdf
|
||||
NuGet CLI configuration
|
||||
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
|
||||
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
||||
To add this repository, use the following command:
|
||||
|
||||
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
|
||||
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
||||
|
||||
nuget setapikey phares:asdf -Source Artifactory
|
||||
NuGet CLI Configuration (API v2)
|
||||
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
|
||||
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
||||
|
||||
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
|
||||
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
||||
|
||||
nuget setapikey phares:asdf -Source ArtifactoryV2
|
||||
Visual Studio Configuration
|
||||
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
|
||||
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
|
||||
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
|
||||
Paste the snippet below in the URL field
|
||||
|
||||
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
||||
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
||||
To add this repository, use the following command:
|
||||
|
||||
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
|
||||
NuGet CLI Symbol configuration
|
||||
When using Artifactory as a NuGet repository you can either work with the NuGet CLI directly or with Visual Studio.
|
||||
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
||||
To add this repository, use the following command:
|
||||
|
||||
nuget sources Add -Name Artifactory -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json -username phares -password asdf
|
||||
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
||||
|
||||
nuget setapikey phares:asdf -Source Artifactory
|
||||
NuGet CLI Configuration (API v2)
|
||||
If this repository is configured as a NuGet API v2 repository manually add the following line to the NuGet.config file:
|
||||
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
||||
|
||||
nuget sources Add -Name ArtifactoryV2 -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir -username phares -password asdf
|
||||
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
||||
|
||||
nuget setapikey phares:asdf -Source ArtifactoryV2
|
||||
Visual Studio Configuration
|
||||
To configure the NuGet Visual Studio Extension to use Artifactory, you need to add this repository as another Package Source under NuGet Package Manager.
|
||||
Go to the "Package Manager Settings" in your Visual Studio (Tools > NuGet Package Manager > Package Manager Settings > Package Sources) and add another Package Source.
|
||||
Name: Add a name for the package source (e.g. Artifactory NuGet repository)
|
||||
Paste the snippet below in the URL field
|
||||
|
||||
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
||||
To configure the NuGet CLI to work with Artifactory, you need to add this repository to the list of sources.
|
||||
To add this repository, use the following command:
|
||||
|
||||
nuget sources Add -Name ArtifactorySymbols -Source https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols -username phares -password asdf
|
||||
Add the following line to the NuGet.config file:
|
||||
The NuGet.config file can be found at %appdata%\NuGet\NuGet.config (Windows) or ~/.config/NuGet/NuGet.config (Mac/Linux)
|
||||
|
||||
<add key="ArtifactorySymbols" value="https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/symbols" protocolVersion="3" />
|
||||
Then, to authenticate against Artifactory with the NuGet API key, run the following command:
|
||||
|
||||
nuget setapikey phares:asdf -Source ArtifactorySymbols
|
||||
Visual Studio Configuration
|
||||
To configure the NuGet Visual Studio Extension to use Artifactory as a Symbol Server, you need to change the location of the symbol (.pdb) file. Under Tools | Options | Debugging | Symbols add a new symbol server pointing to the symbols url:
|
||||
|
||||
https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir
|
||||
|
||||
Artifacts
|
||||
Search Artifacts
|
||||
Welcome, phares
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Enterprise Plus 7.63.14 rev 76314900 Licensed to Infineon Technologies AG
|
||||
© Copyright 2024 JFrog Ltd
|
||||
Happily serving 62,632,133 artifacts
|
||||
Filter repositories
|
||||
Tree View:
|
||||
|
||||
|
||||
|
||||
ngt-it-eafa-local
|
||||
GeneralProperties
|
||||
Info
|
||||
URL to file:
|
||||
https://artifactory.intra.infineon.com/artifactory/ngt-it-eafa-local/
|
||||
Package Information
|
||||
Dependency Declaration
|
||||
Virtual Repository Associations
|
||||
Included Repositories
|
||||
Checksums
|
||||
```
|
||||
|
||||
```bash Thu Aug 08 2024 13:13:23 GMT-0700 (Mountain Standard Time)
|
||||
# https://artifactory.intra.infineon.com/artifactory/ngt-fi-package-main-vir/
|
||||
# https://artifactory.intra.infineon.com/artifactory/ngt-other-mha-base-local/
|
||||
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-fi-package-main-vir/index.json
|
||||
# https://artifactory.intra.infineon.com/artifactory/api/nuget/v3/ngt-other-mha-base-local/index.json
|
||||
```
|
||||
|
Reference in New Issue
Block a user