Fix app.config not getting updated in output (#8586)

Customer reported that their app.config is not occasionaly getting updated in output folder.
Turns out to be a real issue specific to usage of AutoGenerateBindingRedirects.

Fixes AB#1741178.
This commit is contained in:
Jan Krivanek 2023-03-29 00:17:59 +02:00 коммит произвёл GitHub
Родитель da690cf2cf
Коммит 659c51e3ca
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2464,7 +2464,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
====================================================================================================
-->
<Target Name="GenerateBindingRedirects"
Inputs="$(MSBuildAllProjects);@(AppConfigFile);$(ResolveAssemblyReferencesStateFile);$(SuggestedBindingRedirectsCacheFile)"
Inputs="$(MSBuildAllProjects);@(AppConfigWithTargetPath);$(ResolveAssemblyReferencesStateFile);$(SuggestedBindingRedirectsCacheFile)"
Outputs="$(_GenerateBindingRedirectsIntermediateAppConfig)"
Condition="'$(AutoGenerateBindingRedirects)' == 'true' and '$(GenerateBindingRedirectsOutputType)' == 'true'"
DependsOnTargets="_GenerateSuggestedBindingRedirectsCache">