TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Moussa Arbid
1.7k
39
2.6k
How to deploy WinForm application with its db using EF6
Nov 19 2019 6:34 AM
I just finished building a C# WinForms application, and after publishing it using Microsoft Visual Studio Installer projects, I have realized that the database has not been added to the application...
How can I attach the database along with the .EXE file? I have selected the needed prerequisites (.NET and SQL Server Express).
I am using Entity Framework 6 (EF6) and my database has a username and password (SQL Server authentication).
I have tried to include the .mdf file in the project, but no results.
I have also tried to include SQL(localDB), but it throws an exception: make sure to include entity framework connection string...
Reply
Answers (
5
)
How to open Specific tab on button click from another form ?
Focus cursor to next cell on enter press in DataGridView