What files are used by the program?

I wrote a program in Visual Basic. There are many files in the debug folder:

  • Database1.mdf
  • Database1_log.ldf
  • MyData.Designer.vb
  • Mydata.xsc
  • Mydata.xsd
  • Mydata.xss
  • WindowsApplication1.exe
  • WindowsApplication1.config
  • WindowsApplication1.pdb
  • WindowsApplication1.vshost
  • WindowsApplication1.vshost.exe
  • WindowsApplication1.vshost.exe.manifest
  • WindowsApplication1.xml

I want to publish my program. Are all the files necessary for the program? Which ones are used for my database?

Because I want to put a button in my program that supports database backup. Which files should be copied?

+3
source share
2 answers

, Release , , . , , , . , , (Database1.mdf Database1_log.ldf). .

, exe ( ), . :

http://msdn.microsoft.com/en-us/library/ms241903.aspx

http://www.youtube.com/watch?v=Lcue0jo41AM

PDB, , ( / ).

http://msdn.microsoft.com/en-us/library/ms241903.aspx

, MDF LDF.

+2

, , , . , , . Build, Configuration Manager Release. .

ProjectName.exe( .vshost.exe).config( .vshost.exe.config) MDF/LDF. XSD, .

MDF/LDF .

+2

All Articles