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.
Created attachment 21956 [details]
Screenshot of project properties error dialog
0. [possible pre-req] Don't have macOS build host available, but have it configured at one point (e.g., shut it off).
1. Launch VS2017
2. Create new Blank App iOS app
3. Don't connect to macOS host when it asks
4. Go to project properties -> iOS Build Signing
5. Click ... and set to pre-existing Entitlements.plist, which exists from template generation (get "Object reference not set to an instance of an object." error from Visual Studio; see attached picture)
At this point, you have to force quit Visual Studio because almost everything else will re-trigger the same error alert.
If you connect to a build host, Entitlements.plist is in the field already.
If you are connected and then disconnect, you don't get this error.
Get stuck in an error loop on VS and must force quit from Task Manager or procexp.
The project properties end up in an unsaved state. Trying to close the window or quit VS will only bring back the same alert dialog. (Even trying just about any menu option in VS will bring it back.)
Changing the Custom entitlements plist file shouldn't pop an unavoidable alert message.
NOTE: I am using a pre-release version of the Xamarin templates VSIX.
Microsoft Visual Studio Enterprise 2017
Version 15.1 (26403.7) Release
Microsoft .NET Framework
Installed Version: Enterprise
Xamarin 126.96.36.199 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 188.8.131.52 (b16fb82)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 10.8.0.174 (7656cc6)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
This issue should be addressed with the new Entitlements editor we're including on XVS 15.3
Updating the target milestone accordingly.
Updating the milestone again, as the Entitlements editor is going to ship on 15.4.
This issue was fixed as part of the iOS Property Pages revamp (15.2).