Using .NET library in Windows Phone 8.1 application - c#

I want to create Windows Phone 8.1 application in C#. I have a commercial .NET library I need to use which, according to the documentation, is compatible with Windows and Windows Mobile operating systems. When I add a reference to this library in my project and compile, I receive the following error: Cannot find type System.Collections.CollectionBase in module mscorlib.dll.
Is there any way to use this library in Windows Phone 8.1 application?

Related

SpellCheck for Windows Phone

I'm using NetSpell.SpellChecker in my WindowsPhone 8.1 application, but when I compile the code I'm getting the following error:
The base3 class or interface 'System.CompoenentModer.Compoenent' in
assembly xxx referenced by type NetSpell.SpellChecker.Spelling could
not be resolved.
Does anyone have an idea how to solve it? Is NetSpell supported in Windows Phone apps?
If not, do you have any idea of how to implement spellcheck/auto correct in Windows Phone?
If you are using Windows Runtime to build apps for Windows Phone, the support is built in, use:
<TextBox IsSpellCheckEnabled="True" />
Unfortunatly this doesn't work in Windows Phone Silverlight applications.
And the NetSpell library doesn't seem to be compatible with Windows Phone, it is dependent on System.ComponentModel.Component, which according to the MSDN documentation is not supported on Windows Phone. I have yet to find another spell checker library. (NHunSpell also doesn't seem to work with Windows Phone)
If it is for your app, I would recommend writing the app as a Windows Phone Store app (Windows Runtime) and use the built in support instead.

How to Launch Built In Apps for Windows 8

So I am coming from Windows Phone Silverlight into the new Windows Phone runtime apps and Universal apps. I am attempting to build my first app after doing several of the tutorials from channel9. My question is, and maybe I am not googling this correctly, but how might I launch the built in apps in Windows 8 similar to Windows Phone 8 runtime? I've already built a sample using the runtime following http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn741261.aspx but what are the Uri Schemes for built in apps in Windows 8?

Difference between Windows Phone Silverlight 8.1 and Windows Phone 8.1 development

I am working on Windows Phone development. For that I installed required SDK. I do create new project with Windows Phone 8.1, but gradually found that it don't support WCF service as we can not add service reference in assembly. After research I found that Windows Phone 8.1 doesn't support WCF services(refernce). Then I add new Silverlight Windows Phone 8.1 project and found that it support web service(Work Around). While development in Silverlight project I found that their is another difference between two type of project in syntax also, e.g. Navigation to another page,
Windows Phone 8.1 Silverlight support following syntax:
NavigationService.Navigate(new Uri(#"/SecondPage.xaml", UriKind.Relative));
where as Windows Phone 8.1 support(reference)
Frame.Navigate(typeof(SecondPage));
Now I am getting confuse with those type of project and unable to find those differences. Please help me out.
Silverlight navigates between pages using Uri that point to xaml
files.
Windows Phone Runtime (8.1 Store Apps) uses navigation with
pagetypes.
If your app is a Windows Phone Silverlight (8 or 8.1) App, you have to use the first approach for navigating between pages.
The other one simply isn't available to your project.
Windows Phone currently has multiple different application models available, which differ significantly. I know that can be quite confusing When looking for samples and guidance make sure the article you found is matching your app type (i.e. Silverlight).

Unable to add assembly reference for windows phone app

I am trying to create a background task in Windows phone application. However I am unable to add reference to Windows.ApplicationModel.Background dll. Where is it located and how to add?
It is not a part of the Windows Phone platform, it is part of the Windows Store platform.
MSDN - Windows.ApplicationModel.Background namespace

vcvarsphoneall for Windows Phone with VS2013

Now that Windows Phone SDK comes with VS2013, where do I locate the vcvarsphoneall for it? It used to be in the VC directory under WPSDK. I presume that using the WinRT version is probably not sufficient. I need this to do a command line compile of a Windows Phone library.

Categories

Resources