jamesmontemagno / InAppBillingPlugin

Cross-platform In App Billing Plugin for .NET
MIT License
651 stars 152 forks source link

failing to compile on android for netstandard 2.0.3 #435

Closed joaquingrech closed 2 years ago

joaquingrech commented 2 years ago

I've just upgraded to the latest version from Nuget and I get this error now when I try to compile

Severity Code Description Project File Line Suppression State Error Java.Interop.Tools.Diagnostics.XamarinAndroidException: error XA2006: Could not resolve reference to 'Plugin.InAppBilling.InAppBillingPurchase' (defined in assembly 'FinancialCalculator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') with scope 'Plugin.InAppBilling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. When the scope is different from the defining assembly, it usually means that the type is forwarded. ---> Mono.Cecil.ResolutionException: Failed to resolve Plugin.InAppBilling.InAppBillingPurchase

Using Visual studio 2022 in Windows 10.

joaquingrech commented 2 years ago

Never mind. It was my fault the Nuget didn't update all projects and only the netcore one.