In Windows 8 if you installed Visual Studio 11 separately, you may notice the error “Tool makepri.exe cannot be found. Please install Window...
-
Published by Kunal Chowdhury
In Windows 8 if you installed Visual Studio 11 separately, you may notice the error “Tool makepri.exe cannot be found. Please install Windows Modern SDK” while building Metro Style Windows application. What is that and how to resolve this issue?
In this post I will discuss about this issue and will also give you the solution. If you are facing the similar issue, read to find out more.
If you have installed Visual Studio 11 separately, in such case while developing Metro style Windows App you may find the below error while building the project. This is due to some bits were not installed properly in your development environment. If you faced the below error, you need to install proper files to get rid out of it:
In order to fix this issue you need to have the developer preview installed in your PC. In that ISO image all the necessary bits are available. You will face this issue when you have installed just the Windows 8 OS (either the 32 bit or 64 bit) and then installed the Visual Studio 11 separately. In that case, your development environment will not have the required bits. Install the complete Windows 8 Developer Preview with complete developer tools to fix this issue.
There is an alternative solution for this provided by Bil Simser in his blog post “Fixing the makepri.exe error on Windows 8”. This is not an official communication but you can go with that. Here are the steps provided in the blog post:
Thanks to Mayur Tendulkar for sharing the alternate solution. If you have any other solution, please drop a line here. I will update the post with that content. Try to help the community with your solution.
Solution Architect & Former Microsoft MVP
Kunal Chowdhury is an enterprise solution architect and former multi-year Microsoft MVP. He is the author of three technical books: Windows Presentation Foundation Development Cookbook, Mastering Visual Studio 2017, and the Mastering Visual Studio 2019.
He publishes technical articles on Kunal-Chowdhury.com.