user3621101
user3621101

Reputation: 31

Cannot find type System.SystemException in module mscorlib.dll when reference to Microsoft.Phone in Windows Phone 8.1 app template

Microsoft just released Windows App 8.1 with combination of Windows 8.1 and Windows Phone 8.1, so you can create a universal app. However, it gives me a trouble to add Microsoft.Phone 8.1 assembly to project reference.

Here is what I did (in Visual Studio 2013, with Rc2 installed) 1> Create New project from Visual C#->Store Apps -> Windows Phone Apps. 2> Added Microsoft.Phone from this location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhone\v8.1

3> Now, do a build, I see the following Error: "Cannot find type System.SystemException in module mscorilib.dll"

Anyone has the similar experience? any solutions?

Thanks

Upvotes: 3

Views: 3754

Answers (1)

amolgautam
amolgautam

Reputation: 967

There has been a few API changes as part of programming model in windows phone 8.1 apps. have a look at this link. It will solve your problem.

http://blogs.msdn.com/b/paraswadehra/archive/2014/08/21/how-to-send-email-from-your-windows-phone-8-1-app.aspx

Upvotes: 1

Related Questions