Having trouble installing some NuGet packages on Xamarin projects in Visual Studio 2015?

In software development there is always, and I mean always, something that will turn that sincere joy of coding into a living nightmare and when you’re starting a new project you can be sure that it has something to do with package management, dependencies and versioning of those dependencies. It might be those Cocoapods, those Maven artifacts or in this case: NuGet packages.

This weekend I was coding on a project using the real-time framework SignalR and so I wanted to use the client libraries that existed for .NET. The SignalR Client package works on most if not all the platforms, but it has a couple of dependencies that might fail to install.

It seems that if you try to install the package Microsoft.Net.Http on a Xamarin iOS or Android project you can get these kinds of messages popping up:

Could not install package ‘Microsoft.Bcl.Build 1.0.14’. You are trying to install this package into a project that targets ‘Xamarin.iOS,Version=v1.0’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Could not find System.Net.Http.Extensions referenced by assembly Microsoft.AspNet.SignalR.Client, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35.


The Microsoft.Net.Http package has dependencies on the Microsoft.Bcl and Microsoft.Bcl.Build packages, and the culprit will be the Microsoft.Bcl.Build package.

After a while of swearing at the NuGet package manager and wishing I’d take other choices in my life I tried installing the dependencies manually.

It worked.

Turns out Microsoft.Bcl.Build has a newer package than 1.0.14 that supports the latest and greatest bits from Xamarin, and for some reason the Microsoft.Net.Http package does not know about it or hasn’t been updated to reference the newest one.

If you’re having similar problems then try to install the dependencies manually because you never know, it might just work..

Microsoft Student Hackathon 2015 in Oslo

On the 18th to the 19th of September, Microsoft Norway and myself are inviting students to attend a hackathon event at Microsoft’s headquarters at Lysaker Torg 45. It’s a tradition and I’ve participated a couple of times during my period at The Norwegian School of Information Technology now knows as Westerdals Oslo School of Arts, Communication and Technology (Westerdals ACT). It is quite the honor to be on the other side of the table this time and my good friend Anders Gill (Technical Evangelist) and I will kick things off with a thirty minute presentation each where we’ll be talking about Windows 10, Universal Windows Platform, Azure and the new Windows Bridge for Android and iOS.

For those into gaming there will be competitions in FIFA and Halo as well, so come on down on the 18th of September and join us in creating awesome new ideas, apps and websites!

Make sure to visit the post over at Channel9 where we have made a little promotional video or just watch it here and remember to sign up at this page.


Hope to see you there!



Project of the Week #3 – Day 4

It’s day 4, only three more days to go. Today we’re looking at the rest of the  API-endpoints: posting comments, creating a profile and setting participation status.

Before we begin I’ll just want to clarify the numbering scheme I’m using for the “Project of the Week” series. The #3 would in most instances indicate that we’re on “episode 3” or this is the third edition of something, but in this particular case the number signifies the weeknumber in 2015. Weird. In any case, lets continue the coding session where we left off!  (after the break)

Skype Qik Impressions

Skype announced earlier today a new app: Skype Qik (pronounced Quick I guess), a video messaging app which bears similarity to apps like Snapchat and Facebook Messenger.

skype-announced-qikThe tagline is “The new mobile messenger for swapping videos with groups of friends”, and that is exactly what and all it does. In Skype Qik you have the ability to send videos to a person or groups of people at the same time. Nothing more, nothing less. How does it fare? Find out after the break

Lumia 930 – The “easy fix” for purple displays

After WMPoweruser posted their article about the Lumia 930s purple display issues going on record to say that there’s an easy fix to remedy the purple issue a lot of other tech sites has begun reporting the same fix. A lot of those sites are using the images I provided in the Lumia 930 – Purple Tint post as well. I don’t want everyone to think that this tint adjustment fix is going to fix your display as it still seems that for most users the purple is still present, but in a less noticeable way.

In the updated version of the Purple Tint post I go on to say that some users have experienced having the purple tint more visible in different parts of the screen (bottom, top, left or right). I have also noticed on my 930 device that when adjusting the tint to all Green I can see some of that green coming through in the gray areas. I have also noticed that on my device even when tinted all the way to Green the purple is still visible in the bottom half of my screen like many other users are reporting.

When taking all of these into account it might seem that it’s a hardware issue. Some users have already replaced their 930 with new devices and reports that the display is now fine. Microsoft and Nokia might release a software update in the near coming weeks to try to balance out the purple tint, but it might boil down to the physical hardware itself.

I reported these issue to Nokia Care when I wrote the other post and after some days I got sent a PDF that guarantees me a new replacement device when I hand in my current one, as it’s now marked as DOA (Dead On Arrival) / DAP (Dead After Purchase) with display errors stated as the reason.

I have yet to replace my current device as I am waiting to see what Microsoft and Nokia can figure out and allow the stores to stock up with new devices.

If you want to read more about what the purple tint issue is, head on over to my original post here

Spotted: Lumia 930 ad in Norway

Now that Nokias new flagship phone; the Lumia 930 is out it’s nice to see that Microsoft and Nokia has started marketing the phone here in Norway (by the way this Nokia/Microsoft business is confusing). Before I saw the ad today I had yet to see any special marketing for any of the other phones previously released. There might have been some advertisements earlier, but this time they have made sure that everybody would notice it

Oslo Startup Weekend

This weekend started like any other great weekends, chilling out on the sofa after a long week, with Netflix streaming a good show on the TV. On saturday evening I got a text from my good friend, Petri Wilhelmsen over at Microsoft (one of the sponsors of the event), asking me if I wanted to come down to Oslo Startup Weekend to help out with some development. After a bit of consideration, I decided to hop on down to see if I could do anything constructive: