Skip to content
Draft
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/Tasks/Microsoft.Common.CurrentVersion.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
Create the _CoreCompileResourceInputs list of inputs to the CoreCompile target.
============================================================
-->
<Target Name="_GenerateCompileInputs">
<Target Name="_GenerateCompileInputs" Outputs="">

<MSBuildInternalMessage
Condition="'@(ManifestResourceWithNoCulture)'!='' and '%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'==''"
Expand All @@ -3677,6 +3677,8 @@ Copyright (C) Microsoft Corporation. All rights reserved.
FormatArguments="MSB9005;ManifestNonResxWithNoCultureOnDisk;false;Non-Resx" />

<ItemGroup>
<!-- Clear any existing items to avoid duplicates when target runs multiple times -->
<_CoreCompileResourceInputs Remove="@(_CoreCompileResourceInputs)" />

<!-- _CoreCompileResourceInputs is the list of TLDA inputs that should trigger CoreCompile, and are listed as inputs to that target -->
<_CoreCompileResourceInputs Include="@(EmbeddedResource->'%(OutputResource)')" Condition="'%(EmbeddedResource.WithCulture)' == 'false' and '%(EmbeddedResource.Type)' == 'Resx'" />
Expand Down Expand Up @@ -3846,7 +3848,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
contribute to incremental build inconsistencies.
============================================================
-->
<Target Name="_GenerateCompileDependencyCache" Condition="'$(DesignTimeBuild)' != 'true' and '$(BuildingProject)' == 'true'" DependsOnTargets="ResolveAssemblyReferences;_GenerateCompileInputs">
<Target Name="_GenerateCompileDependencyCache" Condition="'$(DesignTimeBuild)' != 'true' and '$(BuildingProject)' == 'true'" DependsOnTargets="ResolveAssemblyReferences;PrepareResources;_GenerateCompileInputs">
<ItemGroup>
<CustomAdditionalCompileInputs Include="$(IntermediateOutputPath)$(MSBuildProjectFile).CoreCompileInputs.cache" />
<CoreCompileCache Include="@(Compile)" />
Expand Down
Loading