I am facing a lot of error while building the first project of my fresh installation VS2017.

Ahsan_SiddiqueAhsan_Siddique PKMember ✭✭✭✭
Severity    Code    Description Project File    Line    Suppression State
Warning     The "Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded from the assembly C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.  App1.iOS            
Error   CS0246  The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 1   Active
Error   CS0246  The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 2   Active
Error   CS0246  The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 3   Active
Error   CS0246  The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 4   Active
Error   CS0246  The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 5   Active
Error   CS0246  The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)   App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 6   Active
Error   CS0246  The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?)   App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 10  Active
Error   CS0518  Predefined type 'System.Void' is not defined or imported    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 12  Active
Error   CS0518  Predefined type 'System.Object' is not defined or imported  App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 14  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    App1    c:\users\asiddique\source\repos\App1\App1\App1\MainPage.xaml.cs 14  Active
Error       The "Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded from the assembly C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.  App1.Android            
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.   App1.Android        1   Active
Warning     The "Xamarin.Forms.Build.Tasks.XamlCTask" task could not be loaded from the assembly C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.    App1.UWP            
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.   App1.UWP        1   Active
Warning     Cannot resolve Assembly or Windows Metadata file 'c:\users\asiddique\source\repos\App1\App1\App1\bin\Debug\netstandard2.0\App1.dll' App1.UWP    c:\users\asiddique\source\repos\App1\App1\App1.UWP\App1.UWP.csproj      
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.   App1.iOS        1   Active
Error   MSB4062 The "Xamarin.Forms.Build.Tasks.XamlGTask" task could not be loaded from the assembly C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.    App1    C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.targets    84  
Error   MSB4062 The "Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded from the assembly C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.  App1    C:\Users\asiddique\.nuget\packages\xamarin.forms\3.1.0.697729\build\netstandard2.0\Xamarin.Forms.targets    36  

Best Answer

Answers

Sign In or Register to comment.