Pavel Tupitsyn created IGNITE-12822:
---------------------------------------
Summary: .NET: Build fails on Xamarin
Key: IGNITE-12822
URL: https://issues.apache.org/jira/browse/IGNITE-12822
Project: Ignite
Issue Type: Bug
Components: platforms
Affects Versions: 2.8
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
Fix For: 2.8.1
* Create new Xamarin Forms app in Visual Studio
* Add reference to Apache.Ignite NuGet package
* Try to rebuild all:
{code}
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`.
{code}
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):
{code}
<ItemGroup>
<Reference Include="System.Configuration">
<HintPath>..\..\bin\System.Configuration.dll</HintPath>
</Reference>
</ItemGroup>
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)