Skip to content

Reload doesn't work when resources are updated #60835

Open
@Kralizek

Description

@Kralizek

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Since I upgraded to SDK 9.0.200, when I update a RESX file, the ASP.NET Core web site I work on with dotnet watch doesn't get the updated resources.

Expected Behavior

Up until SDK 9.0.100, when I run my application using dotnet watch and I update a resource, the new text is displayed.

Steps To Reproduce

my setup:
asp.net core web application with razor pages
run with dotnet watch (and aspire)
update resource text
reload page
text is unchanged.

Exceptions (if any)

dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.resx
dotnet watch ⌚ No C# changes to apply.
dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.de.resx
dotnet watch ⌚ No C# changes to apply.
dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.sv.resx
dotnet watch ⌚ No C# changes to apply.
dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.resx
dotnet watch ⌚ No C# changes to apply.
dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.sv.resx
dotnet watch ⌚ No C# changes to apply.
dotnet watch ⌚ File updated: .\src\shared\Resources\Texts.de.resx
dotnet watch ⌚ No C# changes to apply.

.NET Version

9.0.200

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions