Vs2013 and Umbraco devel: loosing content after restart solution. Why?
Hi,
I'm devel with Vs2013 and Umbraco. I create some content and other doctype and mods from backend, but after I restart Vs2013 to debug, I loose my contents, etc..
Why? I've to exclude database ( LocalDB ) from solution?
Thx.
I have had this problem as well, but when using SQL CE. Never had this problem with SQL Server (Express). Looks to me that sometimes changes are not persisted to the database when using a SQL CE or LocalDB
Every time I test my application and modify data, my changes are gone
the next time I run my application.
The value of the Copy to Output Directory property is Copy if newer or
Copy always. The database in your output folder (the database that’s
being modified when you test your application) is overwritten every
time that you build your project. For more information, see How to:
Manage Local Data Files in Your Project.
Vs2013 and Umbraco devel: loosing content after restart solution. Why?
Hi,
I'm devel with Vs2013 and Umbraco. I create some content and other doctype and mods from backend, but after I restart Vs2013 to debug, I loose my contents, etc..
Why? I've to exclude database ( LocalDB ) from solution? Thx.
I have had the same problem too , with Umbraco version v7.2.4.
However instead of using VS2013 I was using Microsoft WebMatrix.
Any idea on this issue?
Thanks
Ali
I have had this problem as well, but when using SQL CE. Never had this problem with SQL Server (Express). Looks to me that sometimes changes are not persisted to the database when using a SQL CE or LocalDB
I can confirm the answer from Dave. This issue is only occured by using SQL CE, never by SQL Server (Express).
Yes I can confirm that too. I have had this issue with SQL CE and not sql express
I found the issue explained from Microsoft ( https://msdn.microsoft.com/en-us/library/ms233817.aspx )
I've excluded it from the solution.
Nice to know that. Is this because you included the database in your visual studio project. Because I don't recall having ever done that.
Dave
is working on a reply...