I have a windows form project that I have a picturebox that I am using as the draw surface that runs just fine in VS2015, I open it in VS2017 and it throws an error when it is passing the intptr of the drawing surface.
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.'
When checking the intptr, it looks like it hasn't been assigned anything yet. I tried this on another computer using VS2017 and it gives the same error.
Thanks for any help!