Can AXAAndroidBindings.dll be published to nuget
search cancel

Can AXAAndroidBindings.dll be published to nuget

book

Article ID: 268525

calendar_today

Updated On:

Products

CA Application Experience Analytics SaaS (AXA) DX Operational Observability DX APM SaaS

Issue/Introduction

We are using Jfrog for our nuget packages, checking if the AXAAndroidBindings.dll can be published to nuget from Broadcom side

 

Environment

  • DX O2 SaaS
  • DX AXA

 

Resolution

Find below the steps for downloading AXAAndroidBindings.dll from nuget repository.

From Visual Studio

1. Click on Dependencies ->Nuget -> Manage NuGet Packages

2. Under Package source -> Configure Sources 

3. Click Add and fill these details

Name : <Any Name>

Location: https://packages.broadcom.com/artifactory/api/nuget/v3/axa-nuget/index.json

4. Click Save and Ok

After this it will try to install the dll from this nuget source 

5. Click Add Package 

 

Nuget Cli Command

#################

nuget install AXAAndroidBindings -Source  https://packages.broadcom.com/artifactory/api/nuget/v3/axa-nuget/index.json

Dotnet add command

#################

dotnet add package AXAAndroidBindings -s https://packages.broadcom.com/artifactory/api/nuget/v3/axa-nuget/index.json  -f net7.0-android<Installed Android API version>

 

Edit the `xxx.csproj` file and set the TargetFramework condition for the `AXAAndroidBindings` package reference as below:

    For example:

  <ItemGroup>

         <PackageReference Include="AXAAndroidBindings" Version="2023.7.1" Condition="'$(TargetFramework)'=='net7.0-android'"/>

   </ItemGroup>