Pobiega
Pobiega
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
its deffo related to how dotnet ef calls other commands internally, but Im not sure how to fix it
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
yeah idk
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
it still needs to start the app to resolve the context
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
I wonder if we can bypass it... probably not. Worth a try. dotnet ef migrations add init --no-build
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
hm, yeah something is going wrong when dotnet ef is trying to run other commands.. at least, thats my guess
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
lets try explicitly indicating the project.. dotnet ef migrations add --project Backend.csproj Initial
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
yeah looks right at a glance...
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
if so, show the .csproj for that project
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
what does your project structure look like? are you in a project folder when running the command?
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
so this is only a problem when running via dotnet ef?
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
hm okay
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
whats the output if you do dotnet --list-sdks?
65 replies
CC#
Created by Jorjo on 5/7/2025 in #help
dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'
No description
65 replies
CC#
Created by Αμμάν Ριζουάν on 4/24/2025 in #help
✅ ASP.NET Core Web API Model Creation.
Avoid using the attributes if possible, prefer IEntityConfiguratiion<TEntity> or at the very least do it in OnModelCreating
16 replies
CC#
Created by Αμμάν Ριζουάν on 4/24/2025 in #help
✅ ASP.NET Core Web API Model Creation.
16 replies
CC#
Created by Clean Cock on 4/19/2025 in #help
No permission for file saving when hosting .net apps on docker.
Give this a try
32 replies
CC#
Created by Clean Cock on 4/19/2025 in #help
No permission for file saving when hosting .net apps on docker.
32 replies
CC#
Created by yourFriend on 4/18/2025 in #help
Silly OOP question about constructors
But if its a type only used internally or similar and that isn't a problem for you, yeah this works
7 replies
CC#
Created by yourFriend on 4/18/2025 in #help
Silly OOP question about constructors
Optional arguments isn't exactly the same as method/constructor overloading, especially when reflected over
7 replies
CC#
Created by Lukas on 3/31/2025 in #help
✅ Bubbel sorting
I personally really like the wikpedia algo pages. Look at https://en.wikipedia.org/wiki/Bubble_sort
11 replies