Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Building the Source Code for your AppStudio Apps

DZone's Guide to

Building the Source Code for your AppStudio Apps

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

Last night I was working with students at North Dakota State University on building apps for Windows Phone using AppStudio. After we built several apps I wanted to show them how they could easily download the source code for their apps and use Visual Studio to modify it. After the source code was downloaded a number of people, including myself ran into the following problem when trying to build the code in Visual Studio.

00-failed-build

In this post I’ll show you how to correct these issues so that your source code generated by AppStudio builds successfully on your machine. Big thanks to Tyler Roberg, an NDSU student, who wouldn’t go to sleep until this problem was solved!

The first thing you’ll need to do is log into AppStudio, go to your Dashboard and select the app you want to download source code for.

01-dashboard

Then click the Download Source Code link.

02-download-source

Read the guidance provided for publishing your app, then click Download.

03-download

This will download a zip file containing your source code. Before extracting the zip file, right-click on the zip file and select Properties. In the properties dialog that displays click Unblock, then click OK.

04-unblock

Extract the zip file, navigate the src folder and open the Solution file using Visual Studio.

05-solution

In Visual Studio, go to the TOOLS menu and select Options.

06-tools-options

In the Options find Package Manager and make sure the following options are checked

  • Allow NuGet to download missing packages
  • Automatically check for missing packages during build in Visual Studio

07-package-manager

Now, build the solution by either pressing Ctrl+Shift+B or using the BUILD menu.

08-build

Your solution should now build successfully!

09-build-output

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

Published at DZone with permission of Adam Grocholski, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}