When attempting to debug either for iPhoneSimulator or iPhone the Debug output window in VS2017 shows the following exception:
[Inspector] Error preparing project for inspection: System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
at Xamarin.VisualStudio.Inspector.VSAgentExecutionTarget..ctor(Project proj) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\VSAgentExecutionTarget.cs:line 36
at Xamarin.VisualStudio.Inspector.VSInspectorSession.CreateAgentExecutionTarget() in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\VSInspectorSession.cs:line 84
at Xamarin.Interactive.IdeSupport.InspectorSession.Prepare() in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\External\inspector-ide-integration\Xamarin.Interactive.IdeSupport\InspectorSession.cs:line 95
at Xamarin.VisualStudio.Inspector.XamarinInspectorPackage.RefreshInspectorSession() in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Features\VisualStudio.Inspector\Vsix\XamarinInspectorPackage.cs:line 136
An unexpected error occurred while checking consistency between the local app and the remote build for SurveyApp.iOS. Please rebuild the application and try again. Check the logs for more details
I've tried enabling and disabling profiler in project settings, no difference.
Both VS2017 and XS are latest stable.
VS2017 15.1 (26403.7)
Xamarin 188.8.131.52 (3f99c5a)
Xamarin.iOS 10.8.0.174 (7656cc6)
Xamarin Inspector 1.2.2
Xamarin Studio 6.3 (build 863)
Not sure if this is a dupe of: https://bugzilla.xamarin.com/show_bug.cgi?id=54329
After removing Workbooks through the VS2017 installer that exception above doesn't show anymore. However, the error with consistency checking persists. Even if I do as it suggests. I've also tried removing the mtbs cache on the mac itself.
This is odd, we'll investigate. In the meantime, I can give you a suggestions that might help and a quick question:
1. Can you try deleting output folders from both sides Windows (bin+obj folders) and Mac (mtbs cache)?
2. Does the same issue happen on a new iOS app from scratch?
Do you have any extra information or update about this problem?
This should be fixed for the upcoming 15.4 release, since we have been making improvements and fixes around build inconsistency checks between local and remote builds.
For this reason and given that we didn't receive much more information about the issue, I'm considering it as Resolved.