Prism for Windows phone 8
I have developed an application in C#/XAML for windows 8 using prism .I want to implement the same pattern in my windows phone 8 application also. Which prism library can I use???
A pre-release version is available on NuGet here: http://nuget.org/packages/PortablePrism.WP8/
Microsoft PRISM 4.1 ported to Portable Class Library and
Microsoft.Composition.
Namespaces are not changed for convenience.
To install Portable PRISM - Windows Phone 8, run the following command
in the Package Manager Console
PM> Install-Package PortablePrism.WP8 -Pre
please try this : https://prismwindowsruntime.codeplex.com
The Prism library and AdventureWorks Shopper RI demonstrate how to create Windows Store apps using C# and XAML for Windows 8.1 and Windows Phone 8.1.
I reached out to Blaine Wastell (one of the prism dev team) on Twitter who said that the guys would be looking to start development on this in February or March.
https://twitter.com/blainewastell/status/423927087993331714
Related
"Could not install package 'SocketIO4Net.Client 0.6.26'. You are trying to install this package into a project that targets
'WindowsPhoneApp,Version=v8.1".Getting this error while installing the library..Please help me to find an appropriate library..
This message means that you try to install a library that is not compatible with Windows Phone 8.1.
Lookat that nuget package shows only a .net 4.0 library:
socketio4net.client.0.6.26\lib\net40
which can be only used in Desktop .Net 4.x (40, 4.5.x, 4.6.x) projects.
You need to use a WinRT compatible lib that supports Phone 8.1.
I know that using HAP in windows phone apps is very problematic, but I very need to. So the problem is that when I add System.Xml.XPath from silverlight 5 or 4 I get "Xaml Internal Error error WMC9999". It's got to be noticed that the version of HAP is 1.4.6 but not 1.4.9 (tha latest one), because it cannot be installed from NuGet (just doesn't add reference) and I've found no links to download it manually.
In old windows phone 8 silverlight app everything worked great.
Please, help.
Use the HtmlAgilityPack-PCL nuget package with Windows Phone 8.1 XAML apps, it works fine with no need to add any references manually.
I just set up a Windows Phone 8.1 project using VS 2013 update 2 and added it to a git repo in VS Online.
After configuring a build definition, I tried to run the build but it is erroring out on:
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1864): Could not find SDK "MSTestFramework, Version=12.0".
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1864): Could not find SDK "TestPlatform, Version=12.0
The documentation for VS Online states that the WP8 SDK is installed, but there is no mention of WP8.1. http://www.visualstudio.com/en-us/get-started/hosted-build-controller-vs.aspx#software
Has anybody managed to get a WP 8.1 unit test project to build, and run the tests using VS Online?
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
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
When I try to install MvvmCross on my PCL, I get the error message below. I am running Visual Studio 2013 and the Xamarin Frameworks are installed for the PCLs.
I'm using Profile78, which targets .net framework 4.5, windows store apps (windows 8) and higher, Windows Phone 8, Xamarin.Android, and Xamarin.iOS.
Is there a better profile for me to use?
Could not install package 'MvvmCross.PortableSupport 3.0.13'. You are trying to install this package into a project that targets 'portable-net45+wp80+win+MonoAndroid10+MonoTouch10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
This area is changing with many new releases from many different places. I don't believe there are any definitive answers here today. There's a walkthrough using the latest platforms on http://slodge.blogspot.co.uk/2013/11/quick-run-through-using-pcls-in.html
That walkthrough uses:
Xamarin - iOS 1.8 & Android 4.10
Nuget - 2.7.2
MvvmCross - 3.0.14-beta3
Visual Studio 2012
portable profile 158
Other setups may also work - I don't know if anyone knows which is "better" - but it would be interesting to hear opinions!