Error : DEP3321 – Can’t deploy to Windows 10 Mobile

With Windows 10 being rolled out as I write this article, there will be updated sample Windows Platform apps available soon (today). It’s also time to update your projects.

However, you may find yourself not able to deploy to Windows 10 Mobile after updating your projects or older samples to Windows 10 (build 10240). This post will show you how to resolve this problem.

The problem

You’ll see an error something like this when deploying to a physical Windows 10 Mobile device:

Error : DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.10240.0 or higher. You currently are running version 10.0.10166.0. Please update your OS, or change your deployment target to a device with the appropriate version.

The error is pretty clear but how do we fix it? The resolution is with the MinTargetVersion setting.

The fix

We need to drop the lowest version your app targets to the version that your device has running, we can do this in one of two ways; through the project properties UI editor or manually edit the XML of the csproj file. I will show you how to do it manually because in some cases, the UI’s MinTarget dropdown list won’t show the lowest SDK if you do not have it installed. Below are the steps to fix it.

NOTE: Skip to step 3 if your project is already unloaded (it will show (unavailable) next to the name)

1) Right click on your project in Visual Studio

2) Select “Unload Project“, it will now appears as ProjectName (unavailable)

3) Right click on the unloaded project and select “Edit projectName.csproj

4) Locate the <TargetPlatformVersion> and <TargetPlatformMinVersion> items in the first <PropertyGroup>.

Here’s the “Before” screenshot:


5) Change the TargetPlatformMinVersion to the version that the error stated you are running. In this case, it’s 10166. Here’s the “After” screenshot:


6) Now Save and Close the file

7) Right click on the project again and select “Reload Project

8) Rebuild the project and deploy to device. Now you should be up and running!

Comments (51) -

Jake Morrison
8/15/2016 5:31:17 PM #

Hi, I checkk your blogs regularly. Your writing style is witty, keep iit up!

Joan Hughes
8/24/2016 9:48:06 AM #

Heya i am for the first time here. I came across this board and I find It really useful & it helped me out much. I hope to give something back and aid others like you helped me.

Robert MacLeod
10/18/2016 9:20:36 AM #

Ahaa, its pleasant conversation on the topic of this paragraph here at this webpage, I have read all that, so at this time me also commenting at this place.

Eric Lee
10/20/2016 5:18:10 AM #

Thank You For Sharing This Very Entertaining Post Keep Up The Good Work!! I Posted A Link To My Activate Windows 7 Ultimate Guide To Show You How To Activate Windows 7 Enjoy!

Andrew Walsh
10/20/2016 8:41:48 AM #

I came across an article that talks about the same thing but even more and when you go deeper.

Yvonne Clarkson
10/20/2016 5:51:06 PM #

Hey I am so excited I found your webpage, I really found you by accident, while I was researching on Aol for something else, Nonetheless I am here now and would just like to say kudos for a remarkable post and a all round thrilling blog (I also love the theme/design), I don't have time to browse it all at the moment but I have saved it and also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the excellent job.

Carl Morrison
10/20/2016 5:51:09 PM #

i love my uggs escort passport radar

Mary Vaughan
10/21/2016 1:45:53 AM #

Hi! Do you know if they make any plugins to help with SEO? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good success. If you know of any please share. Cheers!

Samantha Ellison
10/21/2016 1:45:55 AM #

magnificent points altogether, you simply received a brand new reader. What could you recommend about your post that you simply made some days ago?

Warren Ross
10/21/2016 9:17:35 AM #

I've learn a few excellent stuff here. Definitely value bookmarking for revisiting. I wonder how a lot effort you put to make any such great informative site.

Chloe Henderson
10/21/2016 9:22:21 AM #

Thank you a bunch for sharing this with all people you actually know what you're talking approximately! Bookmarked. Kindly additionally talk over with my site =). We may have a link trade arrangement among us

Thomas Johnston
10/21/2016 2:15:41 PM #

Hello, I think your blog might be having browser compatibility issues. When I look at your blog in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, fantastic blog!

Dylan James
10/21/2016 2:15:43 PM #

Apple now has Rhapsody as an app, which is a great start, but it is currently hampered by the inability to store locally on your iPod, and has a dismal 64kbps bit rate. If this changes, then it will somewhat negate this advantage for the Zune, but the 10 songs per month will still be a big plus in Zune Pass' favor.

Sue Simpson
10/21/2016 11:59:42 PM #

Hey there! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one? Thanks a lot!

William Mitchell
10/22/2016 4:56:50 AM #

Admiring the dedication you put into your site and in depth information you offer. It's awesome to come across a blog every once in a while that isn't the same unwanted rehashed material.

Julia Gill
10/22/2016 8:14:14 AM #

I think this is among the most important information for me. And i am glad reading your article. But want to remark on some general things, The site style is great, the articles is really excellent : D. Good job, cheers

Virginia Turner
10/22/2016 9:21:43 AM #

you're in reality a good webmaster. The web site loading speed is amazing. It kind of feels that you are doing any distinctive trick. In addition, The contents are masterwork. you have performed a wonderful job in this subject!

Charles Coleman
10/22/2016 3:12:59 PM #

Can you tell us more about this? I'd want to find out some additional information.

Neil Short
10/22/2016 3:13:01 PM #

Marvelous, what a website it is! This weblog presents valuable facts to us, keep it up.

Lauren Churchill
10/22/2016 6:46:51 PM #

Appreciate the recommendation. Will try it out.

Julia North
10/22/2016 6:55:39 PM #

Please let me know if you're looking for a writer for your site. You have some really good articles and I think I would be a good asset. If you ever want to take some of the load off, I'd really like to write some material for your blog in exchange for a link back to mine. Please shoot me an e-mail if interested. Thanks!

Harry Ogden
10/23/2016 4:32:03 AM #

wonderful post, very informative. I ponder why the opposite experts of this sector don't understand this. You should proceed your writing. I'm sure, you've a great readers' base already!

Gordon Powell
10/23/2016 3:24:45 PM #

My brother suggested I might like this blog. He was entirely right. This post actually made my day. You can not imagine just how much time I had spent for this information! Thanks!

Cameron Poole
10/23/2016 3:24:48 PM #

The screw down crown and solid case back that you can find in the case of this item are effective in improving its ability to resist water pressure.

Charles Paterson
10/23/2016 7:15:32 PM #

Excellent publish! I'm just starting out in local community management/advertising and marketing media and trying to learn how to do it properly  resources like this article are incredibly useful. As our company is centered in the US, it's all a bit new to us. The illustration above is a thing that I fear about as effectively, how to indicate your individual genuine enthusiasm and reveal the actuality that your product is practical in that scenario

Ella Parsons
10/23/2016 8:15:17 PM #

If some one needs to be updated with hottest technologies afterward he must be pay a quick visit this site and be up to date everyday.

Jennifer Grant
10/24/2016 1:36:30 AM #

You completed various fine points there. I did a search on the subject matter and found a good number of people will agree with your blog.

Jake Mathis
10/24/2016 1:54:41 AM #

Howdy I am so glad I found your webpage, I really found you by mistake, while I was browsing on Google for something else, Nonetheless I am here now and would just like to say thanks for a fantastic post and a all round exciting blog (I also love the theme/design), I don't have time to browse it all at the minute but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the excellent job.

Jennifer Miller
10/24/2016 4:55:12 AM #

Nice post. I learn something totally new and challenging on blogs I stumbleupon on a daily basis. It will always be exciting to read through content from other authors and practice a little something from their web sites.

Joan Mathis
10/24/2016 4:56:43 AM #

great put up, very informative. I ponder why the opposite specialists of this sector don't notice this. You must proceed your writing. I am confident, you have a great readers' base already!

Peter Walsh
10/24/2016 2:18:00 PM #

This is a topic which is close to my heart... Take care! Where are your contact details though?

Jason Ball
10/24/2016 2:18:02 PM #

Hello would you mind stating which blog platform you're working with? I'm going to start my own blog soon but I'm having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something unique.  P.S Sorry for getting off-topic but I had to ask!

Claire Greene
10/24/2016 5:36:11 PM #

Why viewers still use to read news papers when in this technological globe everything is available on web?

David Hamilton
10/24/2016 5:39:58 PM #

Excellent post. Keep writing such kind of information on your blog. Im really impressed by your blog. Hey there, You've performed an excellent job. I'll definitely digg it and personally suggest to my friends. I am confident they'll be benefited from this website.

Karen Morrison
10/25/2016 1:47:51 AM #

I have been browsing online greater than 3 hours as of late, but I by no means found any fascinating article like yours. It's beautiful value enough for me. In my opinion, if all web owners and bloggers made excellent content as you did, the net will be much more helpful than ever before.

Joanne Hamilton
10/25/2016 1:50:03 AM #

Hello, I enjoy reading through your article post. I wanted to write a little comment to support you.

Michelle MacLeod
10/25/2016 5:19:21 AM #

fantastic issues altogether, you simply won a brand new reader. What might you suggest in regards to your publish that you just made some days ago? Any positive?

Adam Hemmings
10/25/2016 10:20:03 AM #

Hi, i think that i saw you visited my website so i came to "return the favor".I'm trying to find things to enhance my website!I suppose its ok to use a few of your ideas!!Here is my web site; Crack The Sims 4

Luke Lyman
10/25/2016 10:20:24 AM #

I truly wanted to jot down a brief remark to become able to express gratitude to you for all the splendid items you will be posting here. My incredibly extended web investigation has at the end been compensated with reasonable points to exchange with my colleagues. I would tell you that several of us readers essentially are undeniably lucky to exist in a remarkable site with many perfect folks with very helpful tips. I really feel actually grateful to have used your entire web site and look forward to some much more fantastic minutes reading right here. Thank you again to get a great deal of items.

Anne Edmunds
10/25/2016 3:12:20 PM #

Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how could we communicate?

Ella Glover
10/25/2016 3:12:26 PM #

At this time it seems like BlogEngine is the preferred blogging platform out there right now. (from what I've read) Is that what you are using on your blog?

Elizabeth Avery
10/26/2016 12:52:55 AM #

I think this is among the most vital info for me. And i am glad reading your article. But want to remark on few general things, The web site style is great, the articles is really great : D. Good job, cheers

Tracey Wallace
10/26/2016 12:52:58 AM #

As I web-site possessor I believe the content matter here is rattling magnificent , appreciate it for your efforts. You should keep it up forever! Best of luck.

Sue Fraser
10/26/2016 7:22:28 AM #

Definitely believe that which you said. Your favorite reason appeared to be on the net the easiest thing to be aware of. I say to you, I certainly get irked while people consider worries that they just don't know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal. Will probably be back to get more. Thanks

Ian Lambert
10/26/2016 7:26:51 AM #

It is appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read more things about it!

Nicola Hart
10/26/2016 3:41:37 PM #

Thanks for sharing such great informations with us, i value it. I just intended to leave a comment in your guestbook and state: Keep up the good work!

James Powell
10/26/2016 3:41:42 PM #

I don't even know how I ended up here, but I thought this post was good. I don't know who you are but definitely you're going to a famous blogger if you aren't already Cheers!

Andrew Cameron
10/26/2016 9:45:47 PM #

It's hard to come by educated people in this particular subject, but you sound like you know what you're talking about! Thanks

Keith Dyer
10/26/2016 9:45:54 PM #

Does your website have a contact page? I'm having problems locating it but, I'd like to send you an e-mail. I've got some ideas for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it expand over time.

find this
1/3/2018 8:27:00 AM #

I just want to tell you that I am just beginner to weblog and actually savored your page. Very likely I’m planning to bookmark your website . You definitely have good posts. Thanks a lot for sharing with us your web site.

Nelajobs Rivers
5/24/2018 9:48:57 PM #

I wish to get across my respect for your generosity supporting folks that really want guidance on your topic. Your very own commitment to passing the solution all over was especially valuable and have constantly enabled folks much like me to realize their targets. Your interesting guideline denotes a great deal a person like me and somewhat more to my office workers. With thanks; from everyone of us.

Add comment