Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Xamarin.IOS Project builds on Mac without error. Same codes gives error like this:
Failed to resolve "System.Void Mono.Security.Interface.IMonoSslStream::AuthenticateAsClient(System.String)" reference from "Mono.Security, Version=188.8.131.52, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
Both on VS Community 2017 and Xamarin.IOS 10.10.0.30 (Windows) and 10.10.0.33 (Mac)
It worked before upgrading to 10.10 on Windows too.
error only on Windows
Please include your full build logs, crash reports (if any), test case (to reproduce) and all version informations.
To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build
- On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run
On Visual Studio Windows you also want to add `-v -v -v -v` to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting `Properties`.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.
The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Can you please provide the full diagnostic build output from Visual Studio?
Go to the menu "Tools - Options" and from the left panel: "Projects And Solutions - Build And Run" and change "MSBuild Output Verbosity" to "Diagnostic", and then build the solution. Copy the Build Output from the Output window and share it (maybe in a gist or as a zip file).
Created attachment 22345 [details]
compressed with Rar
Thanks for the logs. We will investigate it.
I took a look to the logs you've attached and found an old bug in it, it's VS is using a wrong path for the Mono.Security.dll reference. This issue is fixed in the latest stable release (XVS 184.108.40.2066).
I'm closing this issue as not reproducible. If you're stable able to reproduce this issue using the mentioned version, please try the following:
- Remove the reference to Mono.Security and add it again via "Add Reference -> Assemblies -> Framework -> Mono.Security"
- Make sure the reference was added to the csproj like this: <Reference Include="Mono.Security" />
If you continue hitting this issue after following the mentioned steps feel free to reopen this bug and please attach a new detailed build output and the Visual Studio environment info (Help -> About Microsoft Visual Studio -> Copy Info).
Thanks for reporting!