I used Nuget.exe to push a package to Azure artifacts. But, below command always prompts for browser login. The package was pushed successfully after login. I cannot automate the build with this behavior. How can I workaround this issue?
nuget push ./out/MonoTorrent.1.0.39.nupkg -Source "https://pkgs.dev.azure.com/myacct/myproject/_packaging/myfeed/nuget/v3/index.json" -ApiKey "myapikey" -ConfigFile Nuget.config
Nuget.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="myfeed" value="https://pkgs.dev.azure.com/myacct/myproject/_packaging/myfeed/nuget/v3/index.json" />
</packageSources>
<myfeed>
<add key="Username" value="myliveidemail" />
<add key="ClearTextPassword" value="myapikey" />
</myfeed>
</configuration>