Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented Jun 23, 2020

When building Java.Interop-MonoAndroid.csproj we currently get ~100 warnings of the form:

Java.Interop\JavaArray.cs(31,4): warning CS0436: The type 'MaybeNullAttribute' in 
'C:\A\vs2019xam00000Z-1\_work\1\s\external\Java.Interop\src\Java.Interop\NullableAttributes.cs' 
conflicts with the imported type 'MaybeNullAttribute' in 'mscorlib, Version=2.0.5.0, Culture=neutral, 
PublicKeyToken=7cec85d7bea7798e'. Using the type defined in 'C:\A\vs2019xam00000Z-1\_work
\1\s\external\Java.Interop\src\Java.Interop\NullableAttributes.cs'. [C:\A\vs2019xam00000Z-1\_work
\1\s\external\Java.Interop\src\Java.Interop\Java.Interop-MonoAndroid.csproj]

Exclude Java.Interop\src\Java.Interop\NullableAttributes.cs from our source files to eliminate the warnings.

@jpobst jpobst marked this pull request as ready for review June 23, 2020 19:35
@jonpryor jonpryor merged commit 11b7f85 into master Jun 23, 2020
@jonpryor jonpryor deleted the remove-nullable branch June 23, 2020 19:59
@jpobst jpobst added this to the 10.5 (16.8 / 8.8) milestone Jun 26, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants