Getting same trouble after moving project to new folder.
solved it by removing all /bin / obj /.vs folders.
Rebuild all
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello everyone!! I am a junior programmer trying to make a project in .NET MAUI, but when it comes to scaffolding my database, I get the following error:
The specified deps.json [C:\Users\Developer\source\repos\MauiTest7\MauiTest7\bin\Debug\net7.0-android\MauiTest7.deps.json] does not exist
I have tried everything, rebuild project, clean, changing from version 7.0 to 8.0 and nothing.
I have pushed ChatGPT to the limit and it hasn't solved anything for me. I've been dealing with this for +5 hours and I've seen many forums but nothing has managed to solve the problem for me.
I'm a little desperate now, because I don't know what to do anymore and that's why I come to this forum. I hope someone can help me.
Thanks a lot!
Getting same trouble after moving project to new folder.
solved it by removing all /bin / obj /.vs folders.
Rebuild all
hello :),
I face the same issue as you. I'm not sure if what I'm saying is 100% correct or not. This is my first post, and I'm also a junior. However, I believe Maui doesn't create a deps.json file because it targets framework net8.0-ios/android, etc but not net8.0. At least, that's how I perceive it.
Additionally, if I'm not mistaken, the official documentation suggests using sqlite-net-pcl.
Furthermore, I'm not certain if this is feasible, but perhaps we could work around the migration generation by using another project, such as a console project, solely for the execution context?
I had the same problem, I solved it by deleting the /bin /obj /.vs folders and then I recompiled the solution and solved the problem
The solution is very easy, double click your solution name to enter the property setup file and in the first row you will see something like this:
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
Delete all things in the middle and replace them with:
<TargetFrameworks>net9.0-windows10.0.19041.0</TargetFrameworks>
It maybe a little different on your computer, but basically this will work.