Cannot install MvvmCross in VS2013 - c#

I am running Windows 8.1 with Visual Studio Professional 2013 including Update 1.
I want to write apps which can be deployed to Windows Phone, Windows 8, Windows 7, and Android.
Here is a great tutorial on what I want to do
https://www.youtube.com/watch?feature=player_detailpage&list=PLR6WI6W1JdeYSXLbm58jwAKYT7RQR31-W&v=_DHDMNB_IeY&t=107s
but right at the start when the Portable class library is created the presenter has the option on the 'Add Portable Class Library' window where you can select the target frameworks, the video has "Mono for Android' but I do not have the option.
I assume that I need to install it through Extensions and Updates. It finds the 'Ninja Coder for MvvmCross' by Adrian Sudbury. It prompts me to download, I follow the link, download and run the msi, it successfully installs, then restart VS2013 but the MvvmCross does not appear in the list of installed packages.
Reading the link
http://www.nuget.org/packages/MvvmCross.HotTuna.Plugin.All/
I need to type on the PM> console
Install-Package MvvmCross.HotTuna.Plugin.All
this does stuff and returns
....
Successfully added 'MvvmCross.HotTuna.Plugin.All 3.1.1' to TestApp.
Then if I try and create a new PCL then I still do not have the option of 'Mono for Android'
How do I create a project that can be deployed to Windows Phone, Windows 8, Windows 7, and Android.

Related

Cannot install UWP app from hockey app

I'm doing an app using Xamarin.Forms and I've already deployed the Android and iOS version to HockeyApp but I have a problem with the UWP (Windows 10 version)...
These are the steps I do:
Right click on my UWP project
Select "Store" option
Select "Create app packages"
A window pops and I select "No" and click "Next"
Then I only select the ARM configuration
Click "Next"
My package has been created and I drag n drop the .appxbundle file to hockeyapp.
Once the package is uploaded, I start my Windows 10 Mobile emulator and try to install it...
I download it from HockeyApp and when I install it, nothing happens...
Do you have any idea where this problem comes from?
I'm using Visual Studio 2015.
Windows 10 mobile emulator not supported ARM, only x86/x64. You need the real device for test ARM package.
I was experiencing exactly the same, but I've managed to fix it. Here's what I've done:
I associated the app with Store in Visual Studio
I installed Windows 10 Mobile Anniversary update (OS Build: 10.0.14383.953), since my app was targeting Anniversary Update.
I installed the certificate which was included in the .ZIP file next to the .appxbudnle
Then I run the .appxbundle and clicked install. The installer exited without any message, just like before, but after a minute or so the app appeared in the installed apps on my Microsoft Lumia 650.

Windows Phone emulator with Xamarin

I am creating a Xamarin project, and I made it working with Android and iOS, but I can't figure out how to start the Windows Phone 8.1 emulator.
Windows Phone 8.1 is created as a project just like the other platforms.
I am running Visual Studio 2015 Community and Xamarin Business.
EDIT
I made it running by setting it as startup project, but are there others way by e.g. changing the project (where you choose if it is debug or release)?
I also want to know, how I can create the application to Windows store
To create app package go to
Project->Store->Create App Package - It will open wizard for creating app package that You are able to send to store (reference: https://msdn.microsoft.com/en-us/library/hh975357.aspx)
As for the other ways:
In Visual Studio 2015 You can choose in taskbar: debug/release, CPU architecture, startup project and where to deploy an app - eg. emulator or device

Can I create an EXE file using C# with visual web developer express?

The only option I see under C# Windows is "Class Library" to create a DLL. But I don't want a dll. I want an EXE (this time). I'm running Windows 7, btw.
If you want an executable, that suggests you don't want a web application which is what the Web Developer Express targets.
Instead, download and install the "Visual Studio Express 2013 For Windows Desktop" version. That will let you create console applications, WinForms apps, WPF apps etc. (Note that there's also a "for Windows" version rather than "for Windows Desktop" - that's for Windows Phone and Windows Store apps.)
Or hey, just skip straight to Visual Studio Community Edition which has it all in one bundle :)

Installing latest Xamarin on Windows 8.1

We are evaluating Xamarin Forms for our next project to develop the same application for the three major platforms: Android, iOS and Windows Phone.
As we mostly work with WP and Windows apps within the company, we have a well working base setup for work environment. It consists of a Windows 8.1 Pro/Enterprise install, Visual Studio 2013 Update 4 with both WP 8.0 and 8.1 emulators and targets, and all the rest of the packages (e.g. Office Development packages, etc.).
So I grabbed such a laptop, and installed Xamarin on it, using the official download URL on their site. It installed fine, but when I tried to create a new Forms project, it only created the Android part of it, no WP or iOS projects were created.
After checking the settings and all, it turns out that Xamarin Studio won't load the iOS and WP parts which would make it possible to create the projects.
How could I make it see those extensions?
You will need to download the Windows phone SDK update and that will create Windows phone project for you

SQLite forces x86 on Windows Phone, but can't run x86 on WP Devices?

So I'm trying to add SQLite to my Windows Phone app, and the tutorial I followed had me add the Extensions to Visual Studio 2013, then add the Nuget Packages. These caused errors, which the tutorial predicted and told me the solution was to change my packages to x86 in the Configuration Manager. I did this and the errors went away as planned. However, you can't deploy x86 apps to a Windows Phone, so... how do you use SQLite for Windows Phone apps?
Can you link the tutorials you used?
As for the platform problems set it to ARM
Clean -> Rebuild -> Deploy
Screenshot for clarity.

Categories

Resources