D
D
Dmitry2016-08-15 09:47:52
ASP.NET
Dmitry, 2016-08-15 09:47:52

What is the difference between Debug and Release in Visual Studio?

Hello! Tell me, what is the difference between the Debug mode and the Release mode in VIsual Studio?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Peter, 2016-08-15
@petermzg

It's just the name of the compilation profile settings.
In each profile, you can specify certain parameters to the compiler, for example:
- Optimize code
- Define DEBUG constant
and others
You can see the list of parameters in the project properties.

В свойствах проекта можно глянуть разницу
Опции для юилда слегка отличаются по умолчанию.
Аналогично в web config

Дмитрий Ковальский, 2016-08-15
@dmitryKovalskiy

These modes differ in configuration settings. web.config - general settings for all configurations. web.debug.config and web.release.config - specific configuration settings. Well, if you use the construct #if DEBUG
in your code, then in the release configuration, these instructions will not be compiled and included in the final assemblies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question