xamarin / XamarinCommunityToolkit

The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
MIT License
1.58k stars 471 forks source link

Cannot compile source code after download #1195

Closed LeoJHarris closed 3 years ago

LeoJHarris commented 3 years ago

Having a problem trying to compile the latest version of this library. Getting an issue as per the below after I did a download of the source code and attempt to build project. I am going to guess there is an easy fix but not sure what that is. I am planning to look into the source code to try fix this ticket I created https://github.com/xamarin/XamarinCommunityToolkit/issues/1139 I've added the project source as a direct reference to my project.

Show/Hide output log ````csharp 1>Build FAILED. 1> 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.targets(17,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.targets" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (1097,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\.nuget\packages\msbuild.sdk.extras\2.1.2\Sdk\Sdk.props(25,3): warning MSB4011: "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj] 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\ObjectModel\Internals\BaseCommand.netstandard.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\Navigation\NavigationExtensions.netstandard.macos.tvos.watchos.tizen.wpf.gtk.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs' specified multiple times 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\ObjectModel\Internals\BaseCommand.netstandard.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\Navigation\NavigationExtensions.netstandard.macos.tvos.watchos.tizen.wpf.gtk.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs' specified multiple times 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\ObjectModel\Internals\BaseCommand.netstandard.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\Navigation\NavigationExtensions.netstandard.macos.tvos.watchos.tizen.wpf.gtk.cs' specified multiple times 1>CSC : warning CS2002: Source file 'C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs' specified multiple times 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(257,5): warning NETSDK1023: A PackageReference for 'Microsoft.NETCore.UniversalWindowsPlatform' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\iOS\Xamarin.Messaging.Build.targets(107,3): warning VSX1000: The connection to the Mac Server with Address='' and User='' couldn't be established. The project 'Xamarin.CommunityToolkit' will continue building offline 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\iOS\Xamarin.Messaging.Build.targets(107,3): warning VSX1000: The connection to the Mac Server with Address='' and User='' couldn't be established. The project 'Xamarin.CommunityToolkit' will continue building offline 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\iOS\Xamarin.Messaging.Build.targets(107,3): warning VSX1000: The connection to the Mac Server with Address='' and User='' couldn't be established. The project 'Xamarin.CommunityToolkit' will continue building offline 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Xamarin.CommunityToolkit.csproj : warning NU1701: Package 'OpenTK.GLControl 3.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(7,8,7,16): error CS0101: The namespace 'Xamarin.CommunityToolkit.UI.Views' already contains a definition for 'SnackBar' 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(9,17,9,21): error CS0111: Type 'SnackBar' already defines a member called 'Show' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(7,8,7,16): error CS0101: The namespace 'Xamarin.CommunityToolkit.UI.Views' already contains a definition for 'SnackBar' 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(9,17,9,21): error CS0111: Type 'SnackBar' already defines a member called 'Show' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(7,8,7,16): error CS0101: The namespace 'Xamarin.CommunityToolkit.UI.Views' already contains a definition for 'SnackBar' 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(9,17,9,21): error CS0111: Type 'SnackBar' already defines a member called 'Show' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(7,8,7,16): error CS0101: The namespace 'Xamarin.CommunityToolkit.UI.Views' already contains a definition for 'SnackBar' 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(9,17,9,21): error CS0111: Type 'SnackBar' already defines a member called 'Show' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(7,8,7,16): error CS0101: The namespace 'Xamarin.CommunityToolkit.UI.Views' already contains a definition for 'SnackBar' 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Views\Snackbar\SnackBar.netstandard.tvos.watchos.cs(9,17,9,21): error CS0111: Type 'SnackBar' already defines a member called 'Show' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(7,22,7,44): error CS0260: Missing partial modifier on declaration of type 'VisualElementExtension'; another partial declaration of this type exists 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(12,28,12,35): error CS0111: Type 'VisualElementExtension' already defines a member called 'ColorTo' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(29,22,29,37): error CS0111: Type 'VisualElementExtension' already defines a member called 'AbortAnimations' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(43,24,43,60): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentElementWithParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElement\VisualElementExtension.shared.cs(65,24,65,43): error CS0111: Type 'VisualElementExtension' already defines a member called 'TryFindParentOfType' with the same parameter types 1>C:\Users\Sample\XamarinCommunityToolkit-main\src\CommunityToolkit\Xamarin.CommunityToolkit\Extensions\VisualElementExtension.shared.cs(9,113,9,117): error CS8625: Cannot convert null literal to non-nullable reference type. 1> 54 Warning(s) 1> 88 Error(s) 1> 1>Time Elapsed 00:00:18.94 ========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== ```
pictos commented 3 years ago

@LeoJHarris can you provide more info about your environment?

LeoJHarris commented 3 years ago

@pictos See below, let me know if you need anything else:

I have Xamarin. Forms Version 5.0.0.2012 installed in my project consuming project

.NET Framework 4.7.2 installed as is Windows 10 SDK (10.0.19041.0).

Visual Studio environment below:

Microsoft Visual Studio Community 2019 Preview Version 16.10.0 Preview 1.0 VisualStudio.16.Preview/16.10.0-pre.1.0+31025.218 Microsoft .NET Framework Version 4.8.04084

Installed Version: Community

Visual C++ 2019 00435-60000-00000-AA478 Microsoft Visual C++ 2019

.NET Core Debugging with WSL 2 1.0 .NET Core Debugging with WSL 2

ASP.NET and Web Tools 2019 16.10.127.22515 ASP.NET and Web Tools 2019

ASP.NET Core Razor Language Services 16.1.0.2111611+54ccb705f82f77549dbc770a598e1c42b4c166ce Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2019 16.10.127.22515 For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 16.10.127.22515 Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 16.10.127.22515 Azure Functions and Web Jobs Tools

C# Tools 3.10.0-1.21125.6+93b8af2b1f2c9d6318f0fceddc04bb736684bf66 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus 1.2.6 (master@34d6af2) Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

IntelliCode Extension 1.0 IntelliCode Visual Studio Extension Detailed Info

Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.40218.1

Microsoft Continuous Delivery Tools for Visual Studio 0.4 Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager 2.1.113+g422d40002e.RR Install client-side libraries easily to any web project

Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0 Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers 1.1 Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio 16.9.7 (df23ba6) Support for debugging Mono processes with Visual Studio.

NuGet Package Manager 5.10.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info

SQL Server Data Tools 16.0.62102.01130 Microsoft SQL Server Data Tools

TypeScript Tools 16.0.30217.2001 TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 3.10.0-1.21125.6+93b8af2b1f2c9d6318f0fceddc04bb736684bf66 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 16.10.0-beta.21117.1+b8515e673596623e15e74a4e6fe537994b21b6e2 Microsoft Visual F# Tools

Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions 1.0 View, manage, and diagnose containers within Visual Studio.

Visual Studio Tools for Containers 1.0 Visual Studio Tools for Containers

VisualStudio.DeviceLog 1.0 Information about my package

VisualStudio.Foo 1.0 Information about my package

VisualStudio.Mac 1.0 Mac Extension for Visual Studio

Xamarin 16.10.000.21 (main@240d4e4) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.10.0.0 (remotes/origin/8affbf0abc24122abd5517b2b52f1073cb52bd7b@8affbf0ab) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.9.75 (e29e63c) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 11.2.0.21 (d16-9/93eab59) Xamarin.Android Reference Assemblies and MSBuild support. Mono: 5e9cb6d Java.Interop: xamarin/java.interop/d16-9@d6d86b2 ProGuard: Guardsquare/proguard/v7.0.1@912d149 SQLite: xamarin/sqlite/3.34.1@daff8f4 Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@9d8924d

Xamarin.iOS and Xamarin.Mac SDK 14.14.2.5 (3836759d4) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

maxkoshevoi commented 3 years ago

Source file specified multiple times

Looks like some files are imported twice. Could you check git for changed files? Maybe project file got updated in a way that imported the same files multiple times.

LeoJHarris commented 3 years ago

@maxkoshevoi that might be the case, I was using a visual studio extension that's meant to import multiple projects in one go https://marketplace.visualstudio.com/items?itemName=MaciejGudanowicz.AddMultipleProjectsToSolution plus I was ton the preview channel of VS so something might have gone wrong but I'm guessing this extension didn't work properly as I removed and re-added the project without the use of this extension and it worked. Closing the issue.