Skip to content

[dotnet.js] is not incremental #63207

Description

@jjonescz

SDK version: 10p5 or local build (feb621b704347e6fb72b816a257f1ba2fdc6a385)
Steps to reproduce:

  1. dotnet new blazorwasm
  2. dotnet build
  3. dotnet build -bl -question

Expected: success
Actual: fails with

MSBUILD : error : Building target "_BuildCopyStaticWebAssetsPreserveNewest" partially, because some output files are out of date with respect to their input files.

And in the binlog I can see the problem is obj\Debug\net10.0\dotnet.js.

Activity

  1. added theissue type on Jul 8, 2025
  2. MackinnonBuck commented on Jul 9, 2025

    @MackinnonBuck
    Member
  3. transferred this issue fromdotnet/sdkon Aug 9, 2025
  4. added theissue type on Aug 9, 2025
  5. added
    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
    on Aug 9, 2025
  6. added
    area-blazorIncludes: Blazor, Razor Components
    feature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly
    and removed
    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
    on Aug 9, 2025
  7. added this to the 10.0-rc1 milestone on Aug 11, 2025
  8. maraf commented on Aug 12, 2025

    @maraf
    Member

    It happens for .NET 9 as well

    Building target "_BuildCopyStaticWebAssetsPreserveNewest" partially, because some output files are out of date with respect to their input files. [/Users/marekfisera/Development/samples/BlazorWasm/BlazorWasm.csproj]
    
  9. changed the title [-]Static web asset building is not incremental[/-] [+][dotnet.js] is not incremental[/+] on Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions