ENG [#IOT] WindowsIoTCoreWatcher.exe does not start and how fix it

Hello!

New post for Windows 10 and Raspberry Pi 2 series

  1. Hardware and software (1 on N)
  2. Boot from SD card in the device (2 of N)
  3. Hello World mode! (3 of N)
  4. Visual Studio deployment process and Web Management app (4 on N)
  5. Hello Blinky !!! (5 on N)
  6. Some admin tasks, like change password and change name (6 on N)
  7. List of connected devices in the Raspberry Pi 2 (7 on N)
  8. Deploy an app using the deploy package (8 on N)
  9. Different behaviors for an App based on the app architecture
  10. WindowsIoTCoreWatcher.exe does not start and how fix it

Sometimes after you install the Windows IoT core Raspberry Pi 2 SDK, you may find that the monitoring tool “Windows IoT Watcher” cannot be launched. If you start to research you’ll find the following error

Could not load file or assembly ‘ WindowsIoTCoreWatcher, Version = 10. 0. 0. 0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35′ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

And of course, working with a Preview OS, with an SDK also in Preview, the most advisable to do is go to the forums to find some help.

I I found several people in the same situation and with a not so elegant solution (but it works) “remove the app certificate“.

To do this, we use SNRemove.exe, an interesting tool created 10 years ago! with the following command

snremove.exe – r WindowsIoTCoreWatcher.exe

And ready, now we can launch without a problem the app. Here is the curious Friday tip.

Greetings @ Home

/El Bruno

Foro: https://social.msdn.microsoft.com/Forums/en-US/c9fd7f9d-694e-4543-ad78-19c43430ea9c/iot-core-watcher-user-interface-not-starting?forum=WindowsIoT

SNRemove http://www.nirsoft.net/dot_net_tools/strong_name_remove.html

Advertisements

2 thoughts on “ENG [#IOT] WindowsIoTCoreWatcher.exe does not start and how fix it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s