Skip to content

1>FastUpToDate: Source '...\da\x.resources.dll' does not exist, not up-to-date. () #9682

Open
@davhdavh

Description

@davhdavh

Visual Studio Version

17.14.6

Summary

FastUpToDate breaks when build has resx files but is configured to not make satellite libs.

Steps to Reproduce

  1. Add resx to project
  2. Add
  <ItemGroup>
    <EmbeddedResource Update="@(EmbeddedResource)">
      <GenerateResource>false</GenerateResource>
    </EmbeddedResource>
  </ItemGroup>

  <Target Name="PreventMSB3030" DependsOnTargets="ComputeIntermediateSatelliteAssemblies" BeforeTargets="GenerateSatelliteAssemblies">
    <ItemGroup>
      <IntermediateSatelliteAssembliesWithTargetPath Remove="@(IntermediateSatelliteAssembliesWithTargetPath)"></IntermediateSatelliteAssembliesWithTargetPath>
    </ItemGroup>
  </Target>
  <Target Name="PreventNU5026" DependsOnTargets="SatelliteDllsProjectOutputGroup" BeforeTargets="_GetBuildOutputFilesWithTfm">
    <ItemGroup>
      <SatelliteDllsProjectOutputGroupOutput Remove="@(SatelliteDllsProjectOutputGroupOutput)"></SatelliteDllsProjectOutputGroupOutput>
    </ItemGroup>
  </Target>

Expected Behavior

FastUpToDate uses previous output as what it supposed to be created.

Actual Behavior

FastUpToDate assumes special files are created when special files are present.

User Impact

FastUpToDate does not work for anyone using different method than satellite resx generation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature-Up-to-dateBuild up-to-date check that avoids shelling out to MSBuild unless necessary.needs-more-info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions