# Building windows 10 App

**URL:** <https://forum.ionicframework.com/t/building-windows-10-app/92416>\
**Category:** ionic-v3\
**Created:** [May 31, 2017, 6:42am UTC](https://forum.ionicframework.com/t/building-windows-10-app/92416 "2017-05-31T06:42:26Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Farhad\_87](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/farhad_87/32/107753_2.png) [@Farhad\_87](https://forum.ionicframework.com/u/Farhad_87)\
**Post date:** [June 19, 2017, 6:11am UTC](https://forum.ionicframework.com/t/building-windows-10-app/92416/9 "2017-06-19T06:11:22Z")

</div>

Finally I solved this issue by installing Build Tools for Visual Studio 2017. Assuming that you have already installed **Visual Studio 2017** on your machine.

1. Go the official website of [Visual Studio 2017](https://www.visualstudio.com/downloads/) .

2. Scoll down a little bit and you will find a list of options.

3. Expand **Other Tools and Frameworks**. Download and Install **Build Tools for Visual Studio 2017**.

4. Go to **System Environment Variables**.

5. Make a new variable with this **Name and Path** :  
VSINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\

6. Now go to your ionic Project and add these two lines in config.xml file:

7. **\<preference name=“windows-target-version” value=“10.0”/**

8. **\<preference name=“windows-phone-target-version” value=“10.0” /**

9. _Please Close the preference tag. This editor is hiding it if I put closing symbol_.

10. Open command prompt or terminal, go to your project directory and run this command:  
**ionic cordova build windows**

Hope it will help you guys.

---

_[View the full topic](https://forum.ionicframework.com/t/building-windows-10-app/92416)._
