Hopefully you've already followed my previous blog post 'Windows 10 IoT - Getting Started on the Raspberry Pi 2'. In that tutorial I explained how to download and install Windows 10 IoT on a Raspberry Pi 2. In this tutorial I will show you how to set up your Windows 10 PC with the tools that will get you developing with the Pi.
Go to https://dev.windows.com/en-US/downloads/install-dev-tools-visual-studio-2015.
Run the VSToolsForWindows.exe.
Choose a Custom install of the tools and click Next
Choose to install the Tools and Windows SDK 10.0.10069. Click Next
If you receive the following error when installing “Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation” this is a known issue. The workaround is to go to here, scroll to the bottom of the page and download and install the Standalone Windows SDK for Windows 10.
Once Visual Studio is installed exit the installer.
Return to your Windows_IoT_Core_RPI2_BUILD zip file or extracted folder and run the WindowsDeveloperProgramForIoT.msi file.
Accept the licence agreement and Install.
Once complete Finish.
If developer mode is not enabled in Visual Studio you will receive the following prompt when creating or loading a project.
and designer will throw up the following error.
To enable developer mode run gpedit.msc and set Group Policy either locally on the device or at domain level.
Navigate to Computer Configuration > Administrative Templates > Windows Components > App Package Deployment.
Enable 'Allow all trusted apps to install' and 'Allows development of Windows Store apps and installing them from an integrated development environment (IDE)'
Restart Visual Studio for the changes to take effect.
You are now in a position to start making cool stuff happen on the Raspberry Pi and Windows 10 IoT.
Check back soon for the next part of the tutorial where we'll blink some LED's and more.
Read Part 3 - Windows 10 IoT Part 3 - Making a light blink