0

I tried running add-migration to create database for my .netCore2.1 project. i have 2 project . One is a Business Object Layer that contains my Model Classes while the other is DAL ( Data access Layer ) that contains my DBContext. I've Added the DLL of my BOL later to my DAL and i tried generating Database but "debs.json file not exist" keeps coming out in my Console"

Kindly help me it's frustrating me already

1 Answer 1

6

I posted this question and after 3 days of active research and trial and error i finally came up with a solution which i thought could help my fellow Developers.

The problem is a Path issue. my project folder was inside \\Mac\User...Document\VisualStudio2017\project\

The above path could not be located for reasons unknown to me so i moved the project to this Path

C:\User...Document\VisualStudio2017\project\

The only difference is i changed the root directory from \\Mac to C:\

then it was solved no more error

i hope this is able to help some people out there

Sign up to request clarification or add additional context in comments.

2 Comments

I had the same issue when my project was stored on a UNC path \\<serverName> after moving the project to my local HDD the issue went away. Thanks
Are you using a Mac? , I tried to relocate the project to the Desktop but no luck on mac.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.