Archive | Apps RSS feed for this section

Child node exited prematurely. Shutting down.

13 Jan

As written yesterday I have spend the weekend working on a Windows 8.1 solution for a customer. For several good reasons (mostly fun) I tested the solution on my Windows 10 Preview machine running Visual Studio 2015 Preview.

When I compiled I got the following error:

Child node “2” exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.

The error itself didn’t reveal much about the error but of course everything pointed at either Windows 10 Preview or Visual Studio 2013 Preview.

A quick search showed surprising few results. I found two leads that I tried to follow.

First lead was this one Problems with Parallel build using MSBuild at StackOverflow. It lead me into modifying the MSBuild process to run without parallel. I tested in a command prompt with the following command.

“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe”
“C:\Source\[Customer]\[Project]\[Solution].sln” /t:Build /m
/v:q /p:Optimize=”True”;DebugSymbols=”True”;Configuration=”Release”

The issue remained and I had to follow my next lead HeatDirectory failure on TFS with MSBUILD error MSB4166: Child node “3” exited prematurely also from StackOverflow. It lead me into modifying the solution and projects to x86 instead of x64 as well as changing the MSBuild process to build on an x86 platform. The issue remained.

To be honest at this point everything seamed like a bug in Visual Studio 2015 Preview and I actually considered giving up and accepting the bug (hahaha I wouldn’t give up in a million years!). A little bit desperate I installed Visual Studio 2013 on my Windows 10 Preview machine. To my frustration the issue remained in Visual Studio 2013.

For fun I tried to begin to exclude projects and files in the solution. First the test projects (of course!), then the portable class libraries and then the nuget packages. The issue remained. Finally I began removing features and styles and suddently I could build and 5 minutes later I had identified the bug.

As part of our refactoring between the Windows Phone 8.1 project and Windows 8.1 project we had by mistake added a DataTemplate to a ResourceDictionary. Well it is actually ok but the issues was that a Button in the DataTemplate called the Tapped eventhandler (and that is definitely no-go!).

To reproduce the error all you need to do is add a ResourceDictionary to your solution (you don’t need to make a reference to it from the App.xaml file). Add the following DataTemplate to the ResourceDictionary:

<DataTemplate x:Key=”template1″>
<Grid>
<Button Content=”Hello World”
Tapped=”button_Tapped” />
  </Grid>
</DataTemplate>

With the eventhandler removed the solution compiled in both Visual Studio 2013 and Visual Studio 2015 Preview on my Windows 10 Preview machine. Finally! :D

Obviously something is changed between Windows 8.1 and Windows 10 in the way solutions are compiled or at least at what causes a compile error (looking into that now). And I guess a few improvements could be in place regarding the error message :)

// thomas

Xamarin for Visual Studio 2015 preview

20 Nov

As part of the Connect() event Microosft released Visual Studio 2015 preview. It is an awesome version of Visual Studio with lots of new exiting features. Building cross platform apps is now integrated deeply into Visual Studio giving even more focus on Xamarin as solid cross platform technology. For period we have begun looking at Xamarin as part of our portfolio in Bluefragments. Hence the even closer  relation between Microsoft and Xamarin is great for a company like Bluefragments.

photo-2-copy1

The installer for Xamarin for Visual Studio 2015 preview is available from within Visual Studio 2015 and you will be prompted to download it when you try to build your first Android or IOS app.

2014-11-20_203331

By default, the Xamarin Windows Installer will just update the components you have previously installed, when applying an update. Since you previously didn’t have 2015 components installed, then by default you won’t be getting them installed right now – that is a bug and the workaround is right here.

Happy cross platform development :)

// thomas

Design og brugeroplevelse til apps

5 Mar

Dansk IT afholder konferencen “Financial Tech Hub”, der sætter fokus på trends i IT-udvikling i den finansielle verden.

Til konferencen har jeg fået lov til at tale lidt om “Design og brugeroplevelse til apps”. Der ligger en en masse muligheder netop indenfor den finansielle verden, som jeg glæder mig til at tale om.

Læs mere på http://www.dit.dk/events/2014/03/25-financial-tech-hop.aspx

Where is the Skype app for Windows Phone?

1 Nov

Yesterday I wrote a blog post asking about the missing Build app for Windows 8. Rumors says the app is built but failed certification hence not available for the attendees – it has not been confirmed by Microsoft!

Until today Nokia Lumia 800 have been my primary phone. Today I’m taking my new Nokia Lumia 920 (thank you Microsoft and Nokia!) and doing it the only true way – making it my primary phone. It’s a big phone but the technical features are awesome and combined with Windows Phone 8 I expect a great experience. I have customized it (making it my own) and I already love some of the new features – especially the “Rooms” feature – it’s really communication made easy!

For the last couple of months I have been addicted to Skype. With the new Skype app for Windows 8 my expectations for the running the app on a Windows Phone 8 device was pretty high. I have been running Skype on my Lumia 800 but it’s almost useless without a front faced camera. Open the store, searching for Skype and gets several results – but no Skype app?! Frustration kicking in! Searching the internet to get an answer.

Turns out that Skype have built a new app from the ground up for Windows Phone 8 supporting some of the new awesome features available in the Windows 8 app and using the new features available in Windows Phone 8. Skype have announced that it is soon-to-be available. Read the full story and get an overview of the new features at their blog or take a look at this video.

// thomas

“Badevand” for Windows 8

22 Nov

Badevand (Bathing Water) is a Windows 8 metro app written in XAML and C#. It shows the water temperature, air temperature and rain level for 5 beaches in Copenhagen, Denmark.

You can download the package here.

Update with details view and more beaches will follow soon.

//xamlgeek

Follow

Get every new post delivered to your Inbox.

Join 1,446 other followers