Hi,
I'm trying to build a simple app with Xamarin and .NET 2017 Community Edition but I'm having some problems with the Live Player.
When I create an empty app or a "Master Detail" without Azure, I can run either one of these on the Emulator or Live Player directly on my phone but when I create an app based on the template "Master Detail" and select "Include Azure Mobile" but do not go through with the Azure set up.
I can compile the app with a few warning and I can run it without any problems on the emulator: Android_Accelerated_x86_Nougat_(Android 7.1 - API 25) .
When I select my Samsung SM-G955F Player (Android 7.0 - API 24) which is a Samsung S8+, and compile the project, I get a number of warnings:
Severity Code Description Project File Line Suppression State
Warning NU1608 Detected package version outside of dependency constraint: Xamarin.Android.Support.CustomTabs 23.3.0 requires Xamarin.Android.Support.v4 (= 23.3.0) but version Xamarin.Android.Support.v4 25.4.0.2 was resolved.
Severity Code Description Project File Line Suppression State
Warning The $(TargetFrameworkVersion) for FormsViewGroup.dll (vv8.0) is greater than the $(TargetFrameworkVersion) for your project (v7.0). You need to increase the $(TargetFrameworkVersion) for your project. myproject.Android C:\Users\Thierry\source\repos\myproject\myproject\myproject.Android\myproject.Android.csproj
Severity Code Description Project File Line Suppression State
Warning The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (vv8.0) is greater than the $(TargetFrameworkVersion) for your project (v7.0). You need to increase the $(TargetFrameworkVersion) for your project. myproject.Android C:\Users\Thierry\source\repos\myproject\myproject\myproject.Android\myproject.Android.csproj
**Severity Code Description Project File Line Suppression State
**Warning The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll (vv8.0) is greater than the $(TargetFrameworkVersion) for your project (v7.0). You need to increase the $(TargetFrameworkVersion) for your project. myproject.Android C:\Users\Thierry\source\repos\myproject\myproject\myproject.Android\myproject.Android.csproj
Severity Code Description Project File Line Suppression State
Warning Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: myproject.MobileAppService
**Severity Code Description Project File Line Suppression State
Warning NU1608 Detected package version outside of dependency constraint: Xamarin.Android.Support.CustomTabs 23.3.0 requires Xamarin.Android.Support.v4 (= 23.3.0) but version Xamarin.Android.Support.v4 25.4.0.2 was resolved.
but it does compile successfully but I cannot get it to run successfully on my phone as it is throwing various errors. The error are listed below but it pretty much seems that none of my libraries are somehow referenced to the project which is not the case.
Severity Code Description Project File Line Suppression State
Error Dependent project myproject.csproj failed to build, using old version. 1
Error The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'WindowsAzure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Error The type or namespace name 'IMobileServiceSyncTable<>' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'MobileServicePushFailedException' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'MobileServiceJsonSerializerSettings' could not be found (are you missing a using directive or an assembly reference?)
Error The name 'MobileServiceTableOperationKind' does not exist in the current context
Error The type or namespace name 'MobileServiceSQLiteStore' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'MobileServiceClient' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'MobileServiceSyncHandler' could not be found (are you missing a using directive or an assembly reference?)
Error The name 'MobileServiceClient' does not exist in the current context
Error The type or namespace name 'RelayCommand' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'PreferredConstructorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error The name 'Set' does not exist in the current context
Error The type or namespace name 'GalaSoft' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'PreferredConstructor' could not be found (are you missing a using directive or an assembly reference?)
Error The type or namespace name 'ViewModelBase' could not be found (are you missing a using directive or an assembly reference?)
Error The name 'SimpleIoc' does not exist in the current context
I have remove paths from the errors for simplicity sake.
You might have noticed that I've included a reference to MVVMLight as this is what I'm used to and it is the .NET standard version (alpha)
Does anyone have any ideas on how I can resolve this?
Thanks.
Thierry