blazor-js-components icon indicating copy to clipboard operation
blazor-js-components copied to clipboard

Hot Reload breaks due to error `ENC0003: Updating 'attribute' requires restarting the application.`

Open gdube-nrc opened this issue 2 months ago • 1 comments

I think your project is breaking Hot Reload, due to this issue: https://github.com/dotnet/sdk/issues/36666#issuecomment-1814835637

Would it be as simple as removing the Microsoft.SourceLink package, as KirillOsenkov is saying here?

For everyone who's still seeing this, ensure that you use the latest version of the .NET SDK 8, as well as remove the package reference to Microsoft.SourceLink.*. SourceLink now comes in the SDK so you no longer need the PackageReference (e.g. Microsoft.SourceLink.AzureRepos.Git). Older versions of these packages have the incrementality bug which has been fixed in the SDK.

gdube-nrc avatar Oct 17 '25 14:10 gdube-nrc

Huh, somehow I can't get it to repro now. Hm.

gdube-nrc avatar Oct 17 '25 15:10 gdube-nrc