Skip to content

dotnet lambda package - AOT - Container- How to pass Nuget.config file as parameter #263

Answered by ashishdhingra
rajeshaz09 asked this question in Q&A
Discussion options

You must be logged in to vote

@rajeshaz09 Good morning. While there is no dedicated argument for specifying NuGet source, the AWS Extensions for .NET CLI supports --publish-options that could be used to pass additional parameters to dotnet publish command. The dotnet publish command supports --source parameter which specifies the URI of the NuGet package source to use during the restore operation. You try passing value for --publish-options as "--source <<URI>>" to use your NuGet source.

Thanks,
Ashish

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. module/cli-ext
2 participants