Open energywave opened 3 years ago
Hi @energywave
What version are you using? Did you try the 6.1.0.2-pre?
Well sorry, I didn't specify it as good as it should. I'm using a clone of the GitHub project so yes, I'm using the 6.1.0.2-pre directly as a project inside my solution. My solution is Xamarin.Forms based with only an Android project (plus a library of mine) I'm using BarcodeScanner.XF as a project because I needed to use the front camera so I changed that in code but as I'm using Xamarin from a week or so (but I'm a long time .net developer) I don't know where to put a property or something to be configurable at runtime and/or in xaml. My solution is using the same Xamarin.Forms version used in this project (and cannot be updated). Furthermore to update that version I had to remove the reference to this project, update Xamarin.forms and other dependencies to same version of BarcodeScanner.XF and then add again the project, otherwise NuGet cannot complete the operation. There is some mess but I'm not expert what is needed to understand and fix myself, otherwise I would have loved to contribute to this wonderful project.
For your Android .csproj, what is your dependencies? For example, below are the sample android app included. You may use notepad to open the csproj to see.
<ItemGroup>
<PackageReference Include="Xam.Plugin.Media">
<Version>5.0.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Media.Compat">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.Core.Utils" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.CustomTabs" Version="28.0.0.3" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.3.1.1" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.6.0.1" />
<PackageReference Include="Xamarin.AndroidX.RecyclerView" Version="1.2.1.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="Xamarin.Forms">
<Version>5.0.0.2083</Version>
</PackageReference>
</ItemGroup>
In order to use the latest packages, I just tried to edit the csproj dependencies instead of update in the nuget manager. You may try to copy these config to yours.
Your Android app project
<ItemGroup>
<PackageReference Include="Xam.Plugin.Media">
<Version>5.0.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.Media.Compat">
<Version>28.0.0.3</Version>
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.Core.Utils" Version="28.0.0.3" />
<PackageReference Include="Xamarin.Android.Support.CustomTabs" Version="28.0.0.3" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.3.1.3" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.4.0.4" />
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.6.0.3" />
<PackageReference Include="Xamarin.AndroidX.RecyclerView" Version="1.2.1.3" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="Xamarin.Forms">
<Version>5.0.0.2125</Version>
</PackageReference>
</ItemGroup>
The GoogleVisionBarCodeScanner.csproj
<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<Compile Include="Android\*.cs" />
<Compile Include="Android\**\*.cs" />
<PackageReference Include="Xamarin.AndroidX.MediaRouter" Version="1.2.5.2">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.3.1.3">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.3.0.8">
</PackageReference>
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.4.0.4">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Palette" Version="1.0.0.10">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.6.0.3">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.RecyclerView" Version="1.2.1.3">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Camera.Camera2" Version="1.0.2">
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Camera.Lifecycle">
<Version>1.0.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Camera.View">
<Version>1.0.0.5-alpha20</Version>
</PackageReference>
<PackageReference Include="Xamarin.Google.Dagger">
<Version>2.37.0</Version>
</PackageReference>
<PackageReference Include="Xamarin.Google.MLKit.BarcodeScanning">
<Version>116.1.2</Version>
</PackageReference>
</ItemGroup>
Rebuild all your project and that should work
Thank you very much for your valuable help! I did update what you said and I could manage to compile using the last Xamarin.Forms version! Furthermore all of the dependencies version mismatch went away! Now these warnings are still there (filtered to show only GoogleVisionBarCodeScanner project):
Gravità Codice Descrizione Progetto File Riga Stato eliminazione
Avviso CS2002 Il file di origine 'E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\Android\Configuration.cs' è specificato più volte GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\CSC 1 Attivo
Avviso CS2002 Il file di origine 'E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\Android\Methods.cs' è specificato più volte GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\CSC 1 Attivo
Avviso CS2002 Il file di origine 'E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\Android\RendererInitializer.cs' è specificato più volte GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\CSC 1 Attivo
Avviso CS0108 'CameraViewRenderer.Init()' nasconde il membro ereditato 'NSObject.Init()'. Se questo comportamento è intenzionale, usare la parola chiave new. GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\iOS\Renderer\CameraViewRenderer.cs 14 Attivo
Avviso CS0168 La variabile 'ex' è dichiarata, ma non viene mai usata GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\iOS\Methods.cs 106 Attivo
Avviso CS0168 La variabile 'ex' è dichiarata, ma non viene mai usata GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\Android\Methods.cs 106 Attivo
Avviso CS0067 L'evento 'UICameraPreview.IsScanningChanged' non viene mai usato GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\iOS\UICameraPreview.cs 23 Attivo
Avviso CS1998 In questo metodo asincrono non sono presenti operatori 'await', pertanto verrà eseguito in modo sincrono. Provare a usare l'operatore 'await' per attendere chiamate ad API non di blocco oppure 'await Task.Run(...)' per effettuare elaborazioni basate sulla CPU in un thread in background. GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\NetStandard\Methods.cs 15 Attivo
Avviso CS1998 In questo metodo asincrono non sono presenti operatori 'await', pertanto verrà eseguito in modo sincrono. Provare a usare l'operatore 'await' per attendere chiamate ad API non di blocco oppure 'await Task.Run(...)' per effettuare elaborazioni basate sulla CPU in un thread in background. GoogleVisionBarCodeScanner (Xamarin.iOS10) E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\NetStandard\Methods.cs 20 Attivo
Avviso MSB4011 non è possibile importare di nuovo "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props". L'importazione è già stata eseguita in "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". Si tratta probabilmente di un errore di creazione della compilazione. Questa importazione successiva verrà ignorata. [E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\GoogleVisionBarCodeScanner.csproj] GoogleVisionBarCodeScanner 25
Avviso MSB4011 non è possibile importare di nuovo "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props". L'importazione è già stata eseguita in "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". Si tratta probabilmente di un errore di creazione della compilazione. Questa importazione successiva verrà ignorata. [E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\GoogleVisionBarCodeScanner.csproj] GoogleVisionBarCodeScanner 25
Avviso MSB4011 non è possibile importare di nuovo "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props". L'importazione è già stata eseguita in "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". Si tratta probabilmente di un errore di creazione della compilazione. Questa importazione successiva verrà ignorata. [E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\GoogleVisionBarCodeScanner.csproj] GoogleVisionBarCodeScanner 25
Avviso MSB4011 non è possibile importare di nuovo "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props". L'importazione è già stata eseguita in "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". Si tratta probabilmente di un errore di creazione della compilazione. Questa importazione successiva verrà ignorata. [E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\GoogleVisionBarCodeScanner.csproj] GoogleVisionBarCodeScanner 25
The second, third and fourth row are saying that those Android.cs files are specified more than once. I've seen that in the project file there is this:
<ItemGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
<Compile Include="Android\*.cs" />
<Compile Include="Android\**\*.cs" />
I've tested to replace the ** with Renderer (to include the relative folder) but no change. That's not an error preventing to build but it's a pity to have all those warnings.
The other thing that I'm not understanding are all those "cannot import again "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props". The import already take place in "C:\Program Files\dotnet\sdk\5.0.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (148,3)". It's probably a compilation creation error. This following import will be ignored.. [E:\Sorgenti\Github\BarcodeScanner.XF\GoogleVisionBarCodeScanner\GoogleVisionBarCodeScanner.csproj] EGP.Android C:\Users\hsozzi.POLIWAREDOM.nuget\packages\msbuild.sdk.extras\2.0.54\Sdk\Sdk.props 25
(translated on the fly from italian language)
PS: I hope to better learn Xamarin.Forms so that I can help contribute to this project in the future. It's working very well for QR code reading.
Hi, I'm having the same problem .. I cloned the project from github in VS2022 and tried to build/deploy the ios sample, but I'm getting some 305 errors related to the packages. After 4hours of cleaning, restoring and rebuilding, I'm still making no progress. I tried manually updating the csproj like mentioned before, but I can't seem to find the GoogleVisionBarCodeScanner.csproj?? Are there any other updates to the ios csproj? The ios sample doesn't have a xamarin.forms reference? But only the xamarin.ios?? The android sample does have this reference? Do you have other suggestions to make the sample work? Thanks, Silas
hi @tridle123 what version are you using. the project has renamed to Barcodescanner.Mobile
thanks for you reply. I cloned this project directly in VS2022 using the https-link in the first tab. So I think the latest version. One of the errors I get is type 'Forms' does not exist in the 'Xamarin', but I can't seem to add the xamarin.forms reference to the IOS sample..
thanks for you reply. I cloned this project directly in VS2022 using the https-link in the first tab. So I think the latest version. One of the errors I get is type 'Forms' does not exist in the 'Xamarin', but I can't seem to add the xamarin.forms reference to the IOS sample..
I tried to clone it and it is working. Any error log for this?
Which error log do you want? The 305 errors are related to an incorrect restoring of packages, like:
Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Configuration.cs 1 Active Error CS0246 The type or namespace name 'BarcodeFormat' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Configuration.cs 7 Active Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 1 Active Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 2 Active Error CS0246 The type or namespace name 'BarcodeValueType' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 10 Active Error CS0246 The type or namespace name 'BarcodeFormat' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 43 Active Error CS0246 The type or namespace name 'Barcode' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 129 Active Error CS0246 The type or namespace name 'Task<>' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\NET\Methods.cs 14 Active Error CS0246 The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\NET\Methods.cs 14 Active Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.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?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.cs 3 Active Error CS0400 The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.cs 4 Active Error CS0246 The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.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?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0\BarcodeScanner.Mobile.Core.AssemblyInfo.cs 11 Active Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0\BarcodeScanner.Mobile.Core.AssemblyInfo.cs 12 Active
I think perhaps my visual studio 2022 setup is not correct?? Are there any specific packages in the VS installation manager I should have for this project??
Which error log do you want? The 305 errors are related to an incorrect restoring of packages, like:
Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Configuration.cs 1 Active Error CS0246 The type or namespace name 'BarcodeFormat' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Configuration.cs 7 Active Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 1 Active Error CS0246 The type or namespace name 'MLKit' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 2 Active Error CS0246 The type or namespace name 'BarcodeValueType' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 10 Active Error CS0246 The type or namespace name 'BarcodeFormat' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 43 Active Error CS0246 The type or namespace name 'Barcode' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\iOS\Methods.cs 129 Active Error CS0246 The type or namespace name 'Task<>' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\NET\Methods.cs 14 Active Error CS0246 The type or namespace name 'List<>' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\NET\Methods.cs 14 Active Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.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?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.cs 3 Active Error CS0400 The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.cs 4 Active Error CS0246 The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.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?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0\BarcodeScanner.Mobile.Core.AssemblyInfo.cs 11 Active Error CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?) BarcodeScanner.Mobile.Core (Xamarin.iOS10) C:\Users\d176821\source\repos\BarcodeScanner.Mobile\BarcodeScanner.Mobile.Core\obj\Debug\netstandard2.0\BarcodeScanner.Mobile.Core.AssemblyInfo.cs 12 Active
I think perhaps my visual studio 2022 setup is not correct?? Are there any specific packages in the VS installation manager I should have for this project??
Did you try to
I managed to use your project by adding it to my solution but dependencies are not latest and it's not possible to update to latest Xamarin.Forms by using NuGet. Furthermore I'm forced to use that same version in my app as I cannot update any dependency when I add this project to the solution.
I'll paste below all the error (the first) and warning that the solution is giving. That said it's working but it would be nice to resolve these issues.
Thank you for your work!