Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Error In Packages

$
0
0

hi, in my project i have these layers 

- Api (my apis that use in app)
- Data  (my data layer)
- Domain Classes (my models) 
 - Xamarin_App

- Xamarin_App.Android

my api layer is .net core 3.0 but i want use models in api layer (and identity tables (AspNetUsers, AspNetRoles , ...... )) and xamarin layer  but i have this error 

and i cant use domain classes layer in xamarin and api toghether 


<div> <div></div> <div>Error NU1202 Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 3.0.0 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package Microsoft.AspNetCore.Identity.EntityFrameworkCore 3.0.0 supports:</div> <div>  - netcoreapp3.0 (.NETCoreApp,Version=v3.0)</div> <div>  - netstandard2.1 (.NETStandard,Version=v2.1) Xamarin_App H:\work-project\Xamain_Toturial_1\Xamarin_App\Xamarin_App\Xamarin_App.csproj 1</div>

</div> <div></div> <div>Error NU1202 Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0 supports: netstandard2.1 (.NETStandard,Version=v2.1) Xamarin_App H:\work-project\Xamain_Toturial_1\Xamarin_App\Xamarin_App\Xamarin_App.csproj 1</div>



how can i use doamin classess as cross platform layer ?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>