James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


Twitter


James Montemagno

Visual Studio

New Plugin for Xamarin & Multi-Target Templates for Visual Studio 2017

It is 2018 and I am all in on Multi-Target projects for building libraries and plugins. I love them so much that I convinced Frank to record a full episode of Merge Conflict on why this whole thing is so absolutely amazing. I have slowly been converting all of my plugins over to mutli-targeted projects, which has reduced some of the solutions from 15 project down to 1!!! (adsbygoogle = window.adsbygoogle || []).push({}); There is a bit of tiny setup required for multi-targeting and for it t…

James MontemagnoJames Montemagno

How to Convert a Portable Class Library to .NET Standard and Keep Git History

I have had a lot of developers telling me that they have wanted to switch to .NET Standard Libraries, but that they are worried about losing git history. I have also heard fears of compatibility with existing packages. Do not fear! It is so simple to switch over to .NET Standard and takes minutes! Why .NET Standard 2.0 There is simply no reason not to be using .NET Standard 2.0 at this point (you can still target 1.4 if you need older UWP support, but just do 2.0!). It supports all of your favor…

James MontemagnoJames Montemagno

Paste JSON as Code with quicktype.io in Visual Studio

quicktype! Yes that quicktype that I blogged about late last year on how to convert JSON to C# classes in the browser. I am back talking about it again because they have made tons of great enhancements and just today released a new extension for Visual Studio 2017! I should mention here that all of this is FREE. Watch Now, Questions Later Want to see it in action? Checkout my short video overview: Doesn't VS Do This? It is true that Visual Studio has a Paste JSON as Classes feature, but it basic…

James MontemagnoJames Montemagno

Xamarin Live Player - VS 2017 version 15.4 & 15.5 Awesomeness

Last week Visual Studio 2017 version 15.4 and VS for Mac 7.2 were released into the stable channel. They include the very first release of the Xamarin Live Player capabilities in Visual Studios. This means you can simply update Visual Studio, turn on Xamarin Live Player (Preview), and get started visualizing your mobile apps with nothing more than VS and your iOS or Android device! Whenever there is a stable release a new preview release of Visual Studio is not far behind. That is right, VS 2017…

James MontemagnoJames Montemagno

My Favorite C# 7 Feature: More expression-bodied members

I can’t help myself, I love Expression-Bodied Members from C# 6! Combined with other powerful C# features it took this code: public void OnPropertyChanged(string name) { var changed = PropertyChanged; if(changed == null) return; changed(this, new PropertyChangedEventArgs(name)); } to this: public void OnPropertyChanged(string name)=> PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); This is amazing! However, in C# 7 things get even better. Take our good old fr…

James MontemagnoJames Montemagno

Setting up Visual Studio 2017 for Xamarin Development

Visual Studio 2017 was just released yesterday, and it is awesome! You can re-live all the keynote and demo deep dives on Channel 9. There are tons of new features and a huge revamp to installation but things to me still aren’t absolutely perfect in the setup of how I like to develop. So in the spirit of my Cycle 8 and Cycle 9 installation guides I am proud to bring you the ultimate VS 2017 Setup Guide for Xamarin! (adsbygoogle = window.adsbygoogle || []).push({}); InstallationThe installat…

James MontemagnoJames Montemagno