Emanuele Leoni

Emanuele Leoni

  • NA
  • 139
  • 17k

Unable to find sqlite database after publish .Net core 2.0

May 29 2018 5:51 AM
I developed a .NET core MVC app running on Raspberry, but when I publish it for Ubuntu Mate,
 
dotnet publish -c Release -r ubuntu.16.04-arm
 
I can't find my sqlite Database although I have set datasource like this:
 
"Data Source=database.sqlite;"
 
The app works fine and communicates with the database. Is it correct or am I wrong anything?

Answers (5)