Bug 58659 - User scenario for Bug 56787 "Could not load file or assembly 'Mono.Posix...'" when attempting to start debugging with breakpoints set
Summary: User scenario for Bug 56787 "Could not load file or assembly 'Mono.Posix...'"...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-09 08:16 UTC by Edwin Dijkstra
Modified: 2017-09-11 06:23 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Logging as suggested in 56787 comment 38. (15.86 KB, text/plain)
2017-08-09 08:16 UTC, Edwin Dijkstra
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Edwin Dijkstra 2017-08-09 08:16:47 UTC
Created attachment 24090 [details]
Logging as suggested in 56787 comment 38.

I am filing this bug to provide details about one user scenario related to Bug 56787 that was not resolved by the workarounds on that bug report.

Using VS 2017 on Windows 10 Pro. Creating a new project makes the error dissapear. But after some time it suddenly shows up again after making progress. Now have a solution with the error constantly appearing when debugging. But like I said, after creating a new project... no errors.

Tried suggested fix like copying attached .dll (attached to 56787) into suggested path but did not resolve my issue. 


Version number in the about window:
Xamarin 4.5.0.486 (fec6f88)
VS2017 Version 15.2 (26430.16) Release
Comment 1 Edwin Dijkstra 2017-08-09 08:28:15 UTC
Additional info:

Created a Xamarin.Forms (PCL) project where this occurs. Need the ADAL NuGet package for my solution and had to manually edit the csproj to be able to install ADAL by using this 'fix':

https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/issues/496

Might be related, might be unrelated. But this makes me be able to install ADAL, otherwise I'm not able to.
Comment 2 Prashant [MSFT] 2017-08-09 09:54:44 UTC
@Edwin

This is fixed in our Alpha release (15.4), could you give it a try to see if you're able to reproduce it?

More details at https://releases.xamarin.com/alpha-release-15-4-alpha-1/
Comment 3 Edwin Dijkstra 2017-08-09 11:26:06 UTC
I'm not able to download and install 15.4 but I downloaded 15.3 by downloading the vs2017 preview version. Seems to fix everything!! No longer receive the error messages. 

Unfortunately now I'm unable to debug the iOS app since I only use the Macbook to build and host an emulator. But it now has a different Xamarin.iOS version from my vs2017 preview.

Seems that in the meantime I have to use 2 versions of VS2017 because the error never showed up when I was debugging iOS. Or is there a way that I can downgrade the Xamarin.iOS version of VS2017 Preview?
Comment 4 Prashant [MSFT] 2017-09-11 05:35:30 UTC
> I can downgrade the Xamarin.iOS version of VS2017 Preview?
What version of Xamarin.iOS are you using on VS 2017? 

Do you still encounter this issue?
Comment 5 Edwin Dijkstra 2017-09-11 06:23:30 UTC
Haven't encountered this issue anymore since update 15.3 so it looks like it's resolved