-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Is there a way to migrate in .netstandard with Xamarin.Forms package ? #8336
Comments
What does your |
Also, have you tried installing the |
@bricelam
I solved it by removing Xamarin.Forms dependency, No i didn't use Add-Migration. I will test it . thanks any way. |
Oh good. I'm glad you were able to solve it. It looks like the |
You could probably work around it by updating the reference to look like this: <PackageReferecne Include="Xamarin.Forms" Version="2.3.4.231">
<ExcludeAssets>build</ExcludeAssets>
</PackageReference> |
@bricelam Thanks . I will test it ... |
Not directly; it uses the Visual Studio APIs instead. |
It worked like a charm ... Thank you ... |
@bricelam We have a proverb in Persian that says : "Nosh daro bad az marge Sohrab" |
Hi.
I have a .netstandard Model layer that referenced from Xamarin.forms
I set Xamarin.Forms package in Model layer =>
PrivateAssets="All"
My .netstandard Data layer referenced from Model layer.
When I run this command in PowerShell :
dotnet ef --startup-project ../Eela.Web/ migrations add v1
I have this error :
Even I'm using :
<PackageTargetFallback>$(PackageTargetFallback);portable-win+net45+wp8+win81+wpa8</PackageTargetFallback>
in Data layer but the problem is persisted,
Is there any way to resolve this problem ?
The text was updated successfully, but these errors were encountered: