HOTSPOT
You are developing an ASP.NET MVC application. It is ready for deployment to the
production web server. A local SQL Express .MDF file was used by the application during
development, but the application will use are existing SQL server database in production.
There are files required by the application that are not part of the project. You must publish
the program database (PDB) files. The application was developed using IIS Express without
any special settings to be migrated.
You need to configure the web package settings for deployment.
Which settings should you use? (To answer, select the appropriate setting or settings in the
answer area.)
Explanation:
So, we don’t exclude generated debug symbols? The drop down in the answer area is blocking that check box, please help
all files in this project folder : (All files in the project folder are deployed to the destination server, even if they are excluded from the project)
exclude generated dubug symbols : (Specifies whether generated debug symbols (.pdb files) should be deployed)
Exclude files from the app_data folder: (you should ensure that your MDF files do not get deployed with the rest of your application. To help with this VS provides option to exclude the content of App_Data folder)
Be careful, there is a version of this question that says you must include the local DB. If so, don’t exclude the local App_Data
– All files in the project folder
– Exclude file from the App_Data folder
(Exclude generated debug Symbols must no be selected since it is explicitly asked to deploy them)