1
In the Generator.mdf file properties, select "Copy to Output Directory" or "Copy Always" for the file to always be copied to the output directory or "Copy if newer" to copy only if the file is newer than the one in the output directory.
1
1
In the Generator.mdf file properties, select "Copy to Output Directory" or "Copy Always" for the file to always be copied to the output directory or "Copy if newer" to copy only if the file is newer than the one in the output directory.
Browser other questions tagged c# sql-server winforms visual-studio
You are not signed in. Login or sign up in order to post.
Didn’t work!!
– Leonardo Nascimento Cintra
For now the only solution is to add the . mdf file as an item in the main project.
– Leonardo Nascimento Cintra
really don’t know how it didn’t work, you managed to change the property correctly ? if you changed search for that Generator.mdf file in the folder where you play the Publish files, I tested it here and it played the file to bin folder
– Thiago Friedman