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.
Related
I followed this guide https://developer.xamarin.com/guides/xamarin-forms/working-with/databases/#PCL_WinRT, but i have problem after run app on device (on emulator WP 8.1 and android platform works fine):
Exception thrown: 'System.DllNotFoundException' in
SQLitePCLRaw.provider.e_sqlite3.ni.DLL Exception thrown:
'System.TypeInitializationException' in SQLite-net.ni.DLL
Can help me somebody?
I was at the same point as you are. You need to inlucde Visual Studio C++ 2013 Runtime package to use the SQLite-Database in WindowsPhone.
NOTE 1: Windows 8.1 and Windows Phone 8.1 require you to include the
Visual Studio C++ 2013 Runtime Package in order for
SQLitePCL.raw_basic to work.
NOTE 2: Windows Phone 8 Silverlight requires you to download
Precompiled Binaries for Windows Phone 8 VSIX and install in Visual
Studio; this enables the SQLite for Windows Phone Extension that you
can then add to your app.
You can find the above infos and a sample project (xamarin-todo-sample) on this github page. This helped me to solve the problems
When I am building a Windows Phone 8.1 project, I get this error:
I have searched on the internet but can't find the solution. They say the Microsoft.Phone.dll should be located in C:\Windows\System32 but it isn't there!
I have also tried to make new blank Windows Phone Project 8.1 and tried to build that immediately and I get the same error.
Thanks in advance!
You can't add Silverlight assembly to Windows Phone 8.1 App Project. You should to distinguish between 8.1 Silverlight and 8.1 WinRT Windows Phone projects.
EDIT
If you want to use Microsoft.Phone.dll in your 8.1 project, you must to create Windows Phone Silverlight 8.1 App
Create an application
Choose OS Version
After that you can user Microsoft.Phone.dll
But I recommend to create an usual Windows Phone 8.1 Application and use new SDK.
I've downloaded the Windows Phone 8.1 SDK Update and I'm attempting to make a Windows Phone 8.1 project. I've updated visual studio with the latest patches but the only template options I have for 8.1 is the standard Windows Store apps as seen in the screenshot below:
Windows Store
Any idea how I can get "Windows Phone" to appear with the appropriate OS target?
I think you didn't install everything. Because i've got actually another screenshot. Following this link you must install Visual Studio 2013 Update 2 - everything needed for WP8.1 is there. Also if you wish to develop Windows Store apps (universal or something) you should install Windows 8.1 SDK from here
Look a bit bown in the list on your screenshot. On the same level the 2nd last option is Windows Phone. That should be it.
How can I downgrade the target of my project from 8.0 to 7.1?
I tries to set it from project>settings>"Target Windows Phone OS Version" , but in dropdown list there is only one line: "Windows Phone OS 8.0".
Thank you.
That is probably not possible. One thing you can try, set up windows phone 7.0 sdk and try to port your app there from scratch.Yes, i think that's the only way, so create a new project under wp 7.0 and import all of your files there.
SO also tells about it, some suggestions for you that may help:
How to downgrade a Windows Phone 8 app?
Is there any easy way to downgrade an wp OS 8 app to OS 7.1?
I have installed Windows Phone 8.0 SDK with VS 2012 Express, and also a VS2013 Pro with Blend v12. How can I create windows phone mockups in the Blend, because I don't see this type of project in the Blend New Project dialog ?
Since Windows Phone does not support WPF the way to built a Windows Phone app using VS2012 version of Blend would be either as a standard Silverlight project or downloading and installing the Windows 8 Phone SDK. (link below)
http://dev.windowsphone.com/en-us/downloadsdk