Deploying via file system then FTP
Posted: Wed Jun 24, 2015 5:58 am
Excuse me if any of this sounds naive, I haven't had occasion to deploy an application of this sort.
So I'm using AC Gold WAP and VS 2012. I've always manually moved the files including the .cs files and database. I've been informed that I should not be promoting the .cs files.
I thought that I could just publish this via VS and it would exclude all the unnecessary files but either I'm doing that wrong or it just doesn't do that.
I did a "release build" in VS. Then I did a file system publish. I was expecting only the files needed to run the app to be in the selected deployment folder. Instead there were .cs and designer files. I'm pretty sure I shouldn't be uploading those so I had to manually delete them.
After I deleted those I also deleted :
Web.Debug.config
Web.Release.Config
\bin\AbleCommerce.pdb
\App_Data\AbleCommerce.mdb (I'm using a SQL Server DB)
What other files are unnecessary ? Thank you!
So this is my build configuration: The Package configuration:
When I go to the Publish Web dialog I select the File System as the Publish method and define my target destination.
These are the settings for the file publish.
So I'm using AC Gold WAP and VS 2012. I've always manually moved the files including the .cs files and database. I've been informed that I should not be promoting the .cs files.
I thought that I could just publish this via VS and it would exclude all the unnecessary files but either I'm doing that wrong or it just doesn't do that.
I did a "release build" in VS. Then I did a file system publish. I was expecting only the files needed to run the app to be in the selected deployment folder. Instead there were .cs and designer files. I'm pretty sure I shouldn't be uploading those so I had to manually delete them.
After I deleted those I also deleted :
Web.Debug.config
Web.Release.Config
\bin\AbleCommerce.pdb
\App_Data\AbleCommerce.mdb (I'm using a SQL Server DB)
What other files are unnecessary ? Thank you!
So this is my build configuration: The Package configuration:
When I go to the Publish Web dialog I select the File System as the Publish method and define my target destination.
These are the settings for the file publish.