Open SlevenRobbert01 opened 1 year ago
Transferred this issue to where the XamarinBuildDownload source code it stored. Since this will need to be fixed in the Nuget Package.
Do you have any experience writing code that can interact with proxies correctly? We currently use WebClient
to perform the download:
The Internet say this should work to pick up the default proxy
var wp = WebRequest.DefaultWebProxy;
wp.Credentials = CredentialCache.DefaultCredentials;
client.Proxy = wp;
I think this is a VS 2022 for mac building issue. The firebase-components are needed in the cache library. When they aren't there it tries to download and move them in this directory. Problem is, it cannot connect to the https://dl.google.com
because it ignors our proxyserver. When you download the package manualy in for example chrome (does use proxyserver), and place them in the cache lib, then the build works. This is the workaround we use now, but this is not the appropriate way.
Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
Affected platform version
VS22 v17.4.2
Description
XamarinBuildDownloadCore is unable to download firebasecomponents. it seems it ignores the configured proxy settings. it does not listen to http_proxy & https_proxy
The Nuget packages are added correctly, but when building it tries to download missing components.
Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
No response