Hello there,
I have a problem trying to get started with Blank App (Xamarin.Forms Portable).
My first step is to actually create the project. Here I get alot of errors which I could fix by updating NuGet packages and rebuilding the solution.
The only NuGet package I couldn't update was Xamarin.Forms for the android solution.
All the solutions have Xamarin.Forms 2.1.0.6529 except for the Droid solution which has 1.5.1.6471.
When I try to install this nuget package I get the following error in output which is also registered on the error list:
Attempting to gather dependency information for package 'Xamarin.Forms.2.1.0.6529' with respect to project 'App11.Droid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'Xamarin.Forms.2.1.0.6529' with DependencyBehavior 'Lowest'
Unable to resolve dependencies. 'Xamarin.Android.Support.Design 23.3.0' is not compatible with 'Xamarin.Forms 2.1.0.6529 constraint: Xamarin.Android.Support.Design (= 23.0.1.3)'.
========== Finished ==========
Next to that error (and 118 Android errors on Resource.Color, Resource.Stylable and Resource.Dimension stating for example 'Resource.Dimension' does not contain a definition for 'design_tab_min_width' created by exactly this I think), I have the following 5 warnings
General warning on project level
_Warning _
CS0618
' Label.XAlign' is obsolete: 'XAlign is obsolete. Please use HorizontalTextAlignment instead.'
App11
C:\Users\Me\Documents\Visual Studio 2015\Projects\App11\App11\App11\App.cs
22
Active
Android Warnings
After rebuilding again this 1 warning did not show anymore
Warning
The "XamlCTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file 'C:\Users\Me\Documents\Visual Studio 2015\Projects\App11\App11\App11.Droid\obj\Debug\App11.Droid.dll'.
File name: 'C:\Users\Me\Documents\Visual Studio 2015\Projects\App11\App11\App11.Droid\obj\Debug\App11.Droid.dll'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Mono.Cecil.ModuleDefinition.GetFileStream(String fileName, FileMode mode, FileAccess access, FileShare share)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Xamarin.Forms.Build.Tasks.XamlCTask.Compile()
at Xamarin.Forms.Build.Tasks.XamlCTask.Execute()
at Microsoft.Build.Framework.ITask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
App11.Droid
Warning
IDE0006
Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.
App11.Droid
1
Active
iOS Warnings:
Warning
The "XamlCTask" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file 'C:\Users\Me\Documents\Visual Studio 2015\Projects\App11\App11\App11.iOS\obj\iPhone\Debug\App11iOS.exe'.
File name: 'C:\Users\Me\Documents\Visual Studio 2015\Projects\App11\App11\App11.iOS\obj\iPhone\Debug\App11iOS.exe'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Mono.Cecil.ModuleDefinition.GetFileStream(String fileName, FileMode mode, FileAccess access, FileShare share)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at Xamarin.Forms.Build.Tasks.XamlCTask.Compile()
at Xamarin.Forms.Build.Tasks.XamlCTask.Execute()
at Microsoft.Build.Framework.ITask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
App11.iOS
Warning
IDE0006
Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.
App11.iOS
1
Active
I really just like to get started with some tutorials. Does anybody have an idea on how to fix?
(Im running on Windows 10 , Visual Studio 2015 professional Update 2)