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 or GitHub 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.
I've been using custom fonts for a while. Since switching to newer VS (15.4.5) and Xcode 9.1 the ad-hoc build won't find my custom fonts at runtime anymore. It works fine when debugging, msbuild output lists the font files during build. There are no errors during compilation.
Fonts are OTF.
Fonts are in Fonts subdirectory, Build Action is set as BundleResource (or Content, tried both) and Copy always. They are listed in info.plist as well.
It's just that at runtime they can't be find with either UIFont.FamilyNames or UIFont.FromName.
Any idea what's going on?
Microsoft Visual Studio Enterprise 2017
Microsoft .NET Framework
Installed Version: Enterprise
Architecture Diagrams and Analysis Tools 00369-90200-01701-AA812
Microsoft Architecture Diagrams and Analysis Tools
Visual Basic 2017 00369-90200-01701-AA812
Microsoft Visual Basic 2017
Visual C# 2017 00369-90200-01701-AA812
Microsoft Visual C# 2017
Visual C++ 2017 00369-90200-01701-AA812
Microsoft Visual C++ 2017
Application Insights Tools for Visual Studio Package 8.9.00809.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.30925.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.50921.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.30915.0
Azure App Service Tools v3.0.0
Cake for Visual Studio 0.1.2.0
Adds support for the Cake build tool in Visual Studio 2015 and 2017. Includes support for the Task Runner Explorer, new templates and bootstrapping important Cake files.
CodeRush for Roslyn 220.127.116.11
DevExpress CodeRush for Roslyn package.
CodeRush for Roslyn Tool Windows 18.104.22.168
DevExpress CodeRush for Roslyn Tool Windows package.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Create layout wizard.
A useful tool for deploying DevExpress assemblies.
DevExpress.Win.LayoutAssistant Extension 1.0
DevExpress.Win.LayoutAssistant Visual Studio Extension Detailed Info
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Markdown Editor 1.11.214
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.
Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft Continuous Delivery Tools for Visual Studio 0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 4.7.4-pre (c2d89eb)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 4.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Project File Tools 1.0.1
Provides Intellisense and other tooling for XML based project files such as .csproj and .vbproj files.
SlowCheetah - XML config transforms 1.0
This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms.
SQL Server Data Tools 15.1.61707.200
Microsoft SQL Server Data Tools
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
TypeScript tools for Visual Studio
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Universal Windows Apps 15.0.27004.2010
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Package with IoT components for Visual Studio
Mac Extension for Visual Studio
Web Compiler 1.11.326
Compiler for LESS, Sass and CoffeeScript files
WiX Toolset Visual Studio Extension 0.9.21.62588
WiX Toolset Visual Studio Extension version 0.9.21.62588
Copyright (c) .NET Foundation and contributors. All rights reserved.
Xamarin 22.214.171.124 (34c1b6c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android SDK 126.96.36.199 (HEAD/c2a33d8ea)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 188.8.131.52 (51128b8)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
XtraReports package 1.0
Now another weird thing. I tried building it on Mac and fonts were there. Uninstalled application.
Going back to VS on Windows, did a rebuild and deploy. And fonts were there as well. The same step failed before building on VS for Mac.
Sounds like it's working for you now? Have you been able to reproduce the problem again?
Indeed it works constantly now. Silly me, didn't try to decompress .ipa file to check whether fonts are there not when it wasn't working.
The scary part is that I don't know why it wasn't working and why it works now. Kind of black magic. I assume some resource (fonts) caching issues or something like that.
Since I can't repro (at the moment) shall we close this and I would reopen it if happens again?
Also, do you guys have any idea what could go wrong?
Working with 15.5 as well.
@Miha I'll close the bug as "Cannot reproduce". AFAIK we do not know of any change that could have broken the build in the way you describe. If you DO see the bug reappearing please feel free to reopen the bug.