Just out of curiosity, is the Tutorial project up to date? I just downloaded it to try it out and I received an error that says:
"Error 2 The type 'Android.App.Activity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c4c4237547e4b6cd'. C:\...\tutorial\Tutorial.UI.Droid\SplashScreenActivity.cs 9 18 Tutorial.UI.Droid "
I've seen stuff mentioned about strong-naming. I'm not sure if that's why the tutorial is not building though.
I'm not sure where you are looking. I've just switched over to v3 and most things should work with xam2.0. The easiest place to start right now is the codeproject tutorial
Is your MVX not compatible with the alpha builds of Xamarin? My team and I are attempting to port our libraries for use with MVX but we cannot import the Tuna Starter Pack from NuGet into an empty Xamarin C# Library (Their C# Portable is still under development).
Error is below:
Could not install package 'MvvmCross.PortableSupport 3.0.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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. System.InvalidOperationException: Could not install package 'MvvmCross.PortableSupport 3.0.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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. at NuGet.ProjectManager.ExtractPackageFilesToProject (IPackage package) [0x00000] in :0 at NuGet.ProjectManager.AddPackageReferenceToProject (IPackage package) [0x00000] in :0 at NuGet.ProjectManager.Execute (NuGet.PackageOperation operation) [0x00000] in :0 at NuGet.ProjectManager.Execute (IPackage package, IPackageOperationResolver resolver) [0x00000] in :0 at NuGet.ProjectManager.AddPackageReference (IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0 at NuGet.ProjectManager.AddPackageReference (System.String packageId, NuGet.SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0 at ICSharpCode.PackageManagement.SharpDevelopPackageManager.AddPackageReference (IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0 at ICSharpCode.PackageManagement.SharpDevelopPackageManager.InstallPackage (IPackage package, ICSharpCode.PackageManagement.InstallPackageAction installAction) [0x00000] in :0 at ICSharpCode.PackageManagement.PackageManagementProject.InstallPackage (IPackage package, ICSharpCode.PackageManagement.InstallPackageAction installAction) [0x00000] in :0 at ICSharpCode.PackageManagement.InstallPackageAction.ExecuteCore () [0x00000] in :0 at ICSharpCode.PackageManagement.ProcessPackageAction.Execute () [0x00000] in :0 at ICSharpCode.PackageManagement.PackageActionRunner.Run (ICSharpCode.PackageManagement.ProcessPackageAction action) [0x00000] in :0 at ICSharpCode.PackageManagement.PackageViewModel.InstallPackage (IEnumerable`1 packageOperations) [0x00000] in :0 at ICSharpCode.PackageManagement.PackageViewModel.InstallPackage () [0x00000] in :0 at ICSharpCode.PackageManagement.PackageViewModel.TryInstallingPackage () [0x00000] in :0 ==============================
yes you can use mvx with alpha - but not targeting .net4. Please try watching some of the n+1 videos, then if you have questions try stackoverflow and not blog comments. Communication via blog comments too poor.
Just out of curiosity, is the Tutorial project up to date? I just downloaded it to try it out and I received an error that says:
ReplyDelete"Error 2 The type 'Android.App.Activity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c4c4237547e4b6cd'. C:\...\tutorial\Tutorial.UI.Droid\SplashScreenActivity.cs 9 18 Tutorial.UI.Droid
"
I've seen stuff mentioned about strong-naming. I'm not sure if that's why the tutorial is not building though.
I'm not sure where you are looking. I've just switched over to v3 and most things should work with xam2.0. The easiest place to start right now is the codeproject tutorial
DeleteIs your MVX not compatible with the alpha builds of Xamarin? My team and I are attempting to port our libraries for use with MVX but we cannot import the Tuna Starter Pack from NuGet into an empty Xamarin C# Library (Their C# Portable is still under development).
ReplyDeleteError is below:
Could not install package 'MvvmCross.PortableSupport 3.0.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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.
System.InvalidOperationException: Could not install package 'MvvmCross.PortableSupport 3.0.7'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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.
at NuGet.ProjectManager.ExtractPackageFilesToProject (IPackage package) [0x00000] in :0
at NuGet.ProjectManager.AddPackageReferenceToProject (IPackage package) [0x00000] in :0
at NuGet.ProjectManager.Execute (NuGet.PackageOperation operation) [0x00000] in :0
at NuGet.ProjectManager.Execute (IPackage package, IPackageOperationResolver resolver) [0x00000] in :0
at NuGet.ProjectManager.AddPackageReference (IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0
at NuGet.ProjectManager.AddPackageReference (System.String packageId, NuGet.SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0
at ICSharpCode.PackageManagement.SharpDevelopPackageManager.AddPackageReference (IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions) [0x00000] in :0
at ICSharpCode.PackageManagement.SharpDevelopPackageManager.InstallPackage (IPackage package, ICSharpCode.PackageManagement.InstallPackageAction installAction) [0x00000] in :0
at ICSharpCode.PackageManagement.PackageManagementProject.InstallPackage (IPackage package, ICSharpCode.PackageManagement.InstallPackageAction installAction) [0x00000] in :0
at ICSharpCode.PackageManagement.InstallPackageAction.ExecuteCore () [0x00000] in :0
at ICSharpCode.PackageManagement.ProcessPackageAction.Execute () [0x00000] in :0
at ICSharpCode.PackageManagement.PackageActionRunner.Run (ICSharpCode.PackageManagement.ProcessPackageAction action) [0x00000] in :0
at ICSharpCode.PackageManagement.PackageViewModel.InstallPackage (IEnumerable`1 packageOperations) [0x00000] in :0
at ICSharpCode.PackageManagement.PackageViewModel.InstallPackage () [0x00000] in :0
at ICSharpCode.PackageManagement.PackageViewModel.TryInstallingPackage () [0x00000] in :0
==============================
Jan
Deleteyes you can use mvx with alpha - but not targeting .net4. Please try watching some of the n+1 videos, then if you have questions try stackoverflow and not blog comments. Communication via blog comments too poor.
thanks
Stuart