I need to base on debugging or release mode to create a tag on web config.
And I have tried these below codes, but they didn't work.
#if !DEBUG
<hostingEnvironment shadowCopyBinAssemblies="false" />
#Endif
<hostingEnvironment Condition="'$(Configuration)'=='Release'" shadowCopyBinAssemblies="false" />
Neither of them worked.