How to automatically check out a database file in a source controlled web application ?

Posted by TheRHCP on Stack Overflow See other posts from Stack Overflow or by TheRHCP
Published on 2010-04-16T22:57:51Z Indexed on 2010/04/16 23:03 UTC
Read the original article Hit count: 180

Hello,

I am working on an ASP.NET web application, we are a small team (4 students) and we do not have access to a dedicated server to host the database instance. So for this web application we decided just to put the database file in the App_Data folder.

The problem is that our project is source controled on TFS, so every time you open the solution and try to launch the web application, we get an expcetion saying that database is read-only. That is logical because the databse file is not automatically checked-out.

Is there a workaround to avoid a manual check-out of the database file everytime we open the solution ?

Thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about database