-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xamarin.iOS is missing .NET Standard 2.1 types #17064
Comments
Discovered by this XI customer issue: xamarin/xamarin-macios#7087 It looks like we didn't fully update with the latest NS2.1 API additions as part of #11430. I ran a API comparison on dotnet/standard against the Xamarin.iOS 13.0 stable release and it shows these missing members:
The EditorBrowsableAttribute entries don't really affect us, but the rest does. |
Yeah, that's a serious issue. Some CodeAnalysis attributes are compiler referenced all the time with C#8 /cc @steveisok |
Yeah we are missing changes from dotnet/standard#1349 (Jul 18 2019) and few more. |
@akoeplinger, @marek-safar, @EgorBo - thanks for the quick investigation Any idea on when a fix might be released? This breaks all sorts of stuff - for example, using Entity Framework 3.0 - and presumable any other libraries that are producing .NET Standard 2.1 assemblies referencing nullable attributes -
|
We are working on getting this fix out with the first service release |
Great - thanks |
Changes: mono/mono@7af64d1...5608fe0 Context: mono/mono#16395 Context: mono/mono#16486 Context: mono/mono#16712 Context: mono/mono#17064 Context: xamarin/xamarin-macios#7005
Contributes to #17064 * Add System.Data.DataSetExtensions to mobile profiles
Contributes to mono#17064 * Add System.Data.DataSetExtensions to mobile profiles
Changes: mono/mono@7af64d1...5608fe0 Context: mono/mono#16395 Context: mono/mono#16486 Context: mono/mono#16712 Context: mono/mono#17064 Context: xamarin/xamarin-macios#7005
…missing NS2.1 APIs See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll
…missing NS2.1 APIs See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll Commit diff: mono/mono@d8441de...5281037
…missing NS2.1 APIs See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll Commit diff: mono/mono@d8441de...5281037
…missing NS2.1 APIs See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll
… to add missing NS2.1 APIs See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll Commit diff: mono/mono@d8441de...5281037
…missing NS2.1 APIs (#7147) See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll
…missing NS2.1 APIs (#7150) See mono/mono#17064. The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll
Changes: mono/mono@d8441de...5281037 Context: mono/mono#17064 Add a new `System.Data.DataSetExtensions.dll` assembly to the BCL which contains new .NET Standard 2.1 APIs.
Changes: mono/mono@d8441de...5281037 Context: mono/mono#17064 Add a new `System.Data.DataSetExtensions.dll` assembly to the BCL which contains new .NET Standard 2.1 APIs.
I can confirm that Xamarin iOS 13.2.0.47 fixes the problem I was seeing - I can successfully build and test apps referencing the nullable reference types attributes in .NET Standard 2.1 with linking enabled. When is the service release expected? |
We expect the servicing release to happen first half of this week for Xamarin.iOS and Mac. |
The updates were released, so I'm closing this here :) |
What is the status of this? How do you use .NET Standard 2.1 with Mono or Xamarin? This comment on this issue indicates that you can't use .NET Standard with Mono: dotnet/standard#1689 (comment) |
From @frankbuckley on Tue, 24 Sep 2019 15:26:58 GMT
Using version 13.2 and referencing .NET Standard 2.1 class library and annotating with a NotNullAttribute results in error when compiling with linking on.
Steps to Reproduce
Expected Behavior
Project compiles successfully
Actual Behavior
Environment
Build Logs
https://gist.github.com/frankbuckley/359e39d83d3453b5734fb27d8fa110ed#file-log-txt
Example Project (If Possible)
TestApp.zip
Copied from original issue xamarin/xamarin-macios#7087
The text was updated successfully, but these errors were encountered: