Reputation: 4309
There are multiple alternatives for "release and debug" configuration in visual studio, I would like to know if they serve the same purpose.
1) Option 1: In the Visual Studio toolbar
2) Option 2: In the web.config file
3) Option 3: In the project properties window
4) Option 4: In the publish site configuration window
Is not one of these configuration options enough to deploy an application? Are all of them required? what are the differences?
Upvotes: 0
Views: 1434
Reputation: 52290
The first one tells you in which one you are working right now (which configuration will be build if you say build - which one will start if you debug, etc.)
The second one handles what how the server will build your aspx/razor/etc. pages.
The third is there so that you can change the settings of the different configurations in the first place!
The last one tells which configuration you want to deploy - no matter what the current selected configuration (from 1) will show - of course it will depend on the settings in 3 and will most likely deploy the file from 2.
so no - it's not enough to have only one of those
Upvotes: 1