Using dll in Windows Phone

May 8 2015 1:29 AM
I am creating a Windows Phone 8.1 app to read data from an external device.
The device manufacturers have provided a .Net dll file to create custom applications.
The class can be referenced successfully with no errors in the code. But while building the app, it throws an error
 
Error 1 The type 'System.Windows.Forms.Form' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. E:\MCA\Projects\C#\AccelTwo\AccelTwo\AccelTwo.WindowsPhone\MainPage.xaml.cs 22 15 AccelTwo.WindowsPhone
I am unable to add a reference to System.Windows.Forms.Form in Windows Phone app.
 
Is there any solution or any other alternative?

Answers (1)