locked
Skip database files when publishing project RRS feed

  • Question

  • User1092566934 posted

    Hello, 

    When I publish a project I choose Files System as Publication Method. This process also copies the database files (*.mdf and *.ldf in my case) which forces me to stop the SQL services to let the Visual Studio free access to the database. Can I choose which files want to be copied or which are not?

    Tuesday, October 1, 2013 11:47 AM

Answers

  • User-1315512054 posted

    Hello,

    In the solution explorer select the desired fiels and with the right mouse button choose exclude from project. The other option is to deploy with some FTP client which is the same.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 3, 2013 1:12 AM

All replies

  • User-1315512054 posted

    Hello,

    In the solution explorer select the desired fiels and with the right mouse button choose exclude from project. The other option is to deploy with some FTP client which is the same.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 3, 2013 1:12 AM
  • User1092566934 posted

    Thanks for your answer, problem solved

    Thursday, October 3, 2013 2:28 AM