How to create nuget package for xamarin.ios - xamarin.ios

I have created a Xamarin.iOS UI component without core project, only a Xamarin.iOS project, and I would like to package it with nuget which I can use across several projects. But I can't handle it.
I'm looking for proper steps for creating a Nuget Package based on my Xamarin solution.
The only thing I found is this command line nuget pack your.nuspec.
Obviously I'm on mac.
Thank's
Anthony;

Easiest way to make a nuget for ios - Visual studio for Mac.
Open project settings in ios settings page and enable "create package when building the project".
Then go to the Metadata and fill it. After that choose release mode and build, and finally check output directory(yourprojectname/bin/release).

Related

What is Microsoft.VisualStudio.Azure.Containers.Tools.Targets package?

When I create a project in .NET Core 2.1. These is the package Microsoft.VisualStudio.Azure.Containers.Tools.Targets is already included in my project. I can't find any documents for that.
Can anyone tell me what is it?
Thanks in advance.
Microsoft.VisualStudio.Azure.Containers.Tools.Targets package is added in VS2017 when Docker Support is selected for the project. It enabled Visual Studio Tooling for Docker file.
Removing this package may give you errors if you intend to Dockerize your project/application in Visual Studio 2017.

Microsoft Azure NotificationHubs Installation failed

i got this problem when i try to install this package Microsoft Azure NotificationHubs in visual studio 2015 enterprise.
image 1
image 2
Could you tell me how you install the package? Do you install as the similar steps below?
In Visual Studio, add a new Visual C# Windows Classic Desktop project to the current solution using the Console Application project template. Name the project ConsoleNotificationhubs.
In Solution Explorer, right-click the ConsoleNotificationhubs project, and then click Manage NuGet Packages.
In the NuGet Package Manager window, search for Microsoft.Azure.NotificationHubs, click Install, and accept the terms of use.
Please note that this package requires .Net Framework 4.5 Full Profile.
If you install successfully, you will get the information like this:
It looks like you are trying to install the Azure Notification Hubs package in a UAP app. You don't need to do it.
Just configure the notification channel per the doc referenced in the comments (cc: Brendan Green).

VS2012 with Xamarin 3, frezes when adding MvvmCross 3.1.1 nuget package to android project

I've recently upgraded the Xamarin to the new version (Xamarin 3).
After this update, everytime I try to add the MvvmCross 3.1.1 nuget package to an android project, the VS2012 freezes (In the dialog window when he's trying to resolve and add the references).
Can this be an issue with the nuget package?
I haven't seen anyone complain about this, so I'm more inclined to say that there may be something wrong in my xamarin instalation, but first I would like to know if anyone else had this problem...
I had a similar problem with a Xamarin update. Make sure you have the latest Android SDK Tools and Android SDK Build Tools installed. The reason it hangs is that MvvmCross adds resources to your project and if you don't have the correct resource compiler from the SDK, it fails and hangs.

Context menu does not display "add transform" in console job when using slow cheetah

I assume this is a simple fix considering I don't see any other posts about others having this issue. I am using VS2012 and I added slowcheetah 2.5.10.3 to the project using the nuget package installer.
I have tried opening a new console application as well as a unit test project, but in both I am not able to "add transform" to my App.config. The option in the context menu doesn't exist...
You will need to install the SlowCheetah Visual Studio extension to get the additional menus in Visual Studio. The NuGet package only adds a .targets file to the solution which is useful for command line (build server) scenarios.

Visual Studio 2012 Project Templates and Nuget and Update All

What I currently do: When I start up a new project in VS 2012 and pick MVC 4 Internet Application. The first thing I do is go to the Nuget Package Manager and click the "Update All" button.
My question is: Is there a way to take this newly updated project and make THIS a template or is there a place to get updated project templates?
Why I am asking: I want to do this the right way.
Not sure if this is a duplicate: Update default nuget packages
I blogged about how to update NuGet packages consumed by project templates over here: http://www.xavierdecoster.com/update-project-template-to-latest-nuget-packages

Resources