Forum Discussion

learnerpurpose's avatar
learnerpurpose
Copper Contributor
Aug 17, 2024

SQL and .net issue

Hi I am unable to see .mdf file in my visual studio when I opened one project of C# .Net in visual studio.

But same way the files are visible in data connections in YouTubers video.

 

I don’t have sql server installed and connected, is it happening due to this?

 

(I AM A BEGINNER PLS HELP IN THIS)

1 Reply

  • The issue is likely because SQL Server is not installed. .mdf files are SQL Server database files and require SQL Server or SQL Server Express to be visible in Visual Studio. Install SQL Server Express and configure it to access .mdf files properly.

Resources