AndreasHennig / ProgressRingPlugin

MIT License
64 stars 23 forks source link

Missing assembly reference build error #21

Open onurhazar opened 5 years ago

onurhazar commented 5 years ago

Hi, I have a xamarin forms app. Once I updated Xamarin and Xamarin Forms, I got a build error below;

Error CS0400: The type or namespace name 'ProgressRingControl' could not be found in the global namespace (are you missing an assembly reference?) (CS0400)

I added version 0.1.2 from nuget for both iOS&Android&Forms projects.

Visual Studio Community 2019 for Mac Version 8.2.2 (build 21) Installation UUID: 4482ac2d-ccbf-41b6-8d06-e096c840be7e GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 5.14.0.85 (d16-2-fix-mac-updates / 86973979)

Package version: 600000319

Mono Framework MDK Runtime: Mono 6.0.0.319 (2019-02/52203786470) (64-bit) Package version: 600000319

NuGet Version: 5.1.0.6013

.NET Core Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 2.1.12 2.1.8 SDK: /usr/local/share/dotnet/sdk/2.1.701/Sdks SDK Versions: 2.1.701 2.1.700 2.1.505 2.1.504 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Sdks

Xamarin.Profiler '/Applications/Xamarin Profiler.app' not found

Updater Version: 11

Xamarin.Android Version: 9.4.1.0 (Visual Studio Community) Commit: xamarin-android/d16-2/ebd65c9 Android SDK: /Users/onur.hazar/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 8.1 (API level 27)

SDK Tools Version: 26.1.1 SDK Platform Tools Version: 29.0.1 SDK Build Tools Version: 28.0.3

Build Information: Mono: mono/mono/2019-02@e6f5369c2d2 Java.Interop: xamarin/java.interop/d16-2@d64ada5 LibZipSharp: grendello/LibZipSharp/d16-2@caa0c74 LibZip: nih-at/libzip/rel-1-5-1@b95cf3f ProGuard: xamarin/proguard/master@905836d SQLite: xamarin/sqlite/3.27.1@8212a2d Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-2@6f6c969

Microsoft Mobile OpenJDK Java SDK: /Users/onur.hazar/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

Android Device Manager Version: 1.2.0.58 Hash: d03e3ea Branch: remotes/origin/d16-2~1 Build date: 2019-07-30 21:29:36 UTC

Apple Developer Tools Xcode 10.3 (14492.2) Build 10G8

Xamarin.Mac Version: 5.14.0.114 (Visual Studio Community) Hash: c6691164 Branch: d16-2 Build date: 2019-07-29 15:54:06-0400

Xamarin.iOS Version: 12.14.0.114 (Visual Studio Community) Hash: c6691164 Branch: d16-2 Build date: 2019-07-29 15:54:05-0400

Xamarin Designer Version: 16.2.0.379 Hash: 3f0652957 Branch: remotes/origin/d16-2 Build date: 2019-08-01 17:32:50 UTC

Xamarin Inspector Version: 1.4.3 Hash: db27525 Branch: 1.4-release Build date: Mon, 09 Jul 2018 21:20:18 GMT Client compatibility: 1

Build Information Release ID: 802020021 Git revision: d2ffd09000c5d24a206b715b63d409e8e965689a Build date: 2019-08-02 00:25:49+00 Build branch: release-8.2 Xamarin extensions: 4cc9cbbe68baaeb6bc654f36e057b1bd124f3f65

Operating System Mac OS X 10.14.6 Darwin 18.7.0 Darwin Kernel Version 18.7.0 Thu Jun 20 18:42:21 PDT 2019 root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64

Enabled user installed extensions Telerik Xamarin Add-in 2019.2.513

sethom commented 5 years ago

I'm getting related errors after upgrading XF to 4.2.0.70924 and upgrading Visual Studio/Xamarin.iOS to the latest versions:

xxx.xaml: Error: Failed to resolve assembly: 'ProgressRing.Forms.Plugin, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

and...

Error CS0246: The type or namespace name 'ProgressRingControl' could not be found (are you missing a using directive or an assembly reference?) (CS0246)