SSIS Component C sharp source

In the c sharp code we need to install a Bigquery client library so that it can be used in the code. Is this installation even possible with component source script task?

the below line will install the library
dotnet add package Google.Cloud.BigQuery.V2

my code of c sharp

using System;
using Google.Cloud.BigQuery.V2;

namespace BigQueryDemo
{
class Program

How to achieve this in the c sharp script task? To install the library?