N
NavidDz
Guest
I am new to Visual Studio.
creating a new project with Xamarin.Forms template gives countless errors, such as "Can not resolve reference: Xamarin.Forms.Xaml, referenced by App4. Please add a NuGet package or assembly reference for Xamarin.Forms.Xaml, or remove the reference to App4. App4.Android" "the referenced component "system.xml" could not be found." "the reference component "system" could not be found."
I think something substantial is wrong with the installation; I have tried uninstalling, repairing, and tried VS 2017 and VS 2019. Nothing seems to work.
I tried to manually install the nuget packages, from the package manager and the console. The package manager indicates all the packages are uptodate, and does not let me install any new packages; from the console, installing any package results in this error:
"Install-Package Xamarin.Forms -Version 3.6.0.344457 Restoring packages for C:\Users\Navid\source\repos\App4\App4\App4.Android\App4.Android.csproj... GET 'System.Numerics.Vectors'&semVerLevel=2.0.0'. Response status code does not indicate success: 404 (Not Found). At line:1 char:1 + Install-Package Xamarin.Forms -Version 3.6.0.344457 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Time Elapsed: 00:00:01.0871186"
Continue reading...
creating a new project with Xamarin.Forms template gives countless errors, such as "Can not resolve reference: Xamarin.Forms.Xaml, referenced by App4. Please add a NuGet package or assembly reference for Xamarin.Forms.Xaml, or remove the reference to App4. App4.Android" "the referenced component "system.xml" could not be found." "the reference component "system" could not be found."
I think something substantial is wrong with the installation; I have tried uninstalling, repairing, and tried VS 2017 and VS 2019. Nothing seems to work.
I tried to manually install the nuget packages, from the package manager and the console. The package manager indicates all the packages are uptodate, and does not let me install any new packages; from the console, installing any package results in this error:
"Install-Package Xamarin.Forms -Version 3.6.0.344457 Restoring packages for C:\Users\Navid\source\repos\App4\App4\App4.Android\App4.Android.csproj... GET 'System.Numerics.Vectors'&semVerLevel=2.0.0'. Response status code does not indicate success: 404 (Not Found). At line:1 char:1 + Install-Package Xamarin.Forms -Version 3.6.0.344457 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Time Elapsed: 00:00:01.0871186"
Continue reading...