Apple is requiring all apps submitted after February 1st, 2015 to include a 64-bit binary. As a library creator, your developers will need to have access to 64-bit versions of your libraries before this deadline so that they can update their apps. The new Unified API that we introduced for both Mac and iOS not only allows you to improve code sharing between the two platforms, but it also enables you to create 64-bit compatible libraries for your developers. We introduced two new target frameworks for Unified API projects: Xamarin.iOS and Xamarin.Mac.
I've created a new project using the ASPNET Core template in Visual Studio for Mac. I can run the default project fine, but when I add reference to 'Microsoft.AspNetCore.Mvc' or any of the other MVC related packages, they fail to install under OSX:( I get 'failure has occurred while. Hi Jayme Edwards, Welcome to the MSDN forum. There is a NuGet Package Management Extensions recently published and available from the extension manager which adds a Manage NuGet Packages dialog which allows you to manage packages at the solution level. It is not quite the same as the one in Visual Studio on Windows. This is an early prototype.
Support for these new frameworks has been added to which was released last month. With these new Unified frameworks now being recognized by NuGet, you can create a NuGet package that targets the Unified iOS and Unified Mac frameworks. We have also created a set of Portable Class Library (PCL) profiles for the Unified frameworks which allow you to add NuGet packages that have compatible Portable Class Libraries, such as Json.NET, into your Unified projects. Now, let’s take a look at what software you need to be able to add NuGet packages to Unified projects and how to create a NuGet package that supports Unified project.
Getting Ready to Use NuGet Packages with Unified Projects In order to fully support adding NuGet packages to Unified projects, you will need to use NuGet 2.8.3 or above and have the Xamarin Portable Profiles for Unified installed. Additionally, you will need the latest Beta releases with the finalized Unified API when creating 64-bit libraries. Software needed on Windows • Visual Studio NuGet Package Manager • or above. The simplest way to upgrade NuGet inside Visual Studio is to use the extension manager: • Select Extensions and Updates from the Tools menu. • In the Extensions and Updates dialog, select the Updates tab and then select Visual Studio Gallery. • If NuGet Package Manager for Visual Studio is listed as an update, then select it and click the Update button. Software needed on Mac • Xamarin Studio 5.7 or above.
• Mono 3.12 or above. • Xamarin.iOS 8.6 Creating a NuGet Package for Unified Projects A NuGet package can be installed into different project types that target different frameworks if it contains files for those frameworks. The NuGet package indicates it supports a particular target framework by containing directories named after that framework. In each of these directories, the NuGet package will contain your files that are specific for that target framework.