0 votes

When I run the app, the following error occurs:

Cannot find type System.Runtime.InteropServices.ExternalException in module mscorlib.dll.

or

„System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” Couldn’t load file or dependency. The system cannot find the file specified.

What could be the problem?

by (200 points)

1 Answer

0 votes
by (301k points)
Hi,

I have already downloaded the dll and added the reference to the dll.

The code throw the error at runtime when the code is first hit.

Any other ideas?

Thanks
What Windows Phone version is that, what VS version?
Windows 8.1. The project is a universal app but the I have added the dll to the windows phone 8.1 project.

I have also got the windows store all added and working correctly.

Thanks
...