Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.8
-
None
-
None
-
.NET Thin: Add Xamarin support
-
Release Notes Required
Description
- Create new Xamarin Forms app in Visual Studio
- Add reference to Apache.Ignite NuGet package
- Try to rebuild all:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1697,2): error XA2002: Can not resolve reference: `System.Configuration`, referenced by `Apache.Ignite.Core`. Please add a NuGet package or assembly reference for `System.Configuration`, or remove the reference to `Apache.Ignite.Core`.
Xamarin does not include System.Configuration assembly.
The workaround is to manually add a reference to System.Configuration from anywhere (it is not used at runtime, we just need to satisfy the build):
<ItemGroup> <Reference Include="System.Configuration"> <HintPath>..\..\bin\System.Configuration.dll</HintPath> </Reference> </ItemGroup>
Attachments
Issue Links
- is fixed by
-
IGNITE-15504 .NET: SDK 2.1 is out of support, make sure project can be developed with newer SDKs
- Resolved