зеркало из https://github.com/xamarin/AndroidX.git
fixes for error CS0433: The type 'IDataStore' exists in both
This commit is contained in:
Родитель
e588594774
Коммит
e2ae94a317
|
@ -8,5 +8,11 @@
|
|||
<remove-node
|
||||
path="/api/package[@name='androidx.datastore.core.handlers']/class[@name='ReplaceFileCorruptionHandler']"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<remove-node
|
||||
path="/api/package[@name='androidx.datastore.core']/interface[@name='IDataStore']"
|
||||
/>
|
||||
|
||||
</metadata>
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net7.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(124,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net7.0-android]
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net7.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(77,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net7.0-android]
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/monoandroid12.0/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(123,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=MonoAndroid12.0]
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/monoandroid12.0/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(76,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=MonoAndroid12.0]
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net6.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(113,62): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net6.0-android]
|
||||
./generated/androidx.datastore.datastore-rxjava3/obj/Debug/net6.0-android/generated/src/AndroidX.DataStore.RxJava3.RxDataStore.cs(66,105): error CS0433: The type 'IDataStore' exists in both 'Xamarin.AndroidX.DataStore.Core.Android, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Xamarin.AndroidX.DataStore.Core.JVM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' [./generated/androidx.datastore.datastore-rxjava3/androidx.datastore.datastore-rxjava3.csproj::TargetFramework=net6.0-android]
|
||||
*/
|
||||
namespace AndroidX.DataStore.Core.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// if AndroidX.DataStore.Core.IDataMigration ever gets removed there will be build error
|
||||
///
|
||||
/// AndroidX.DataStore.Core.IDataMigration is currently removed in androidx.datastore:datastore-core-jvm
|
||||
/// </summary> <summary>
|
||||
///
|
||||
/// </summary>
|
||||
internal partial class IDataStore
|
||||
{
|
||||
private AndroidX.DataStore.Core.IDataStore fail_if_removed;
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче