# Unable to apply hot reload because of a rude edit

**URL:** <https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791>\
**Category:** Radzen Blazor Studio\
**Created:** [November 27, 2023, 7:09pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791 "2023-11-27T19:09:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [November 27, 2023, 7:09pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791/1 "2023-11-27T19:09:26Z")

</div>

How do I resolve the following prompt:

 ![image](https://forum.radzen.com/uploads/default/original/3X/3/a/3aa52e506d96bc8cc33f79dc9559b0f9165c9424.png)

This started when I installed .net8 and version 17.x

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [November 27, 2023, 7:36pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791/2 "2023-11-27T19:36:47Z")

</div>

Hi @kest874,

It seems the hot reload implementation in .NET 8 has changed and it now wants to restart the application a lot more often than before. We are not sure if we can do anything to mitigate that. Starting and stopping the application is the only workaround (and also what the dotnet CLI seems to suggest).

---

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [November 27, 2023, 8:02pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791/3 "2023-11-27T20:02:08Z")

</div>

And I assume there isn't a way intact or to choose "Always". I'm running into this quite often now.

---

<div class="post-metadata">

**Author:** ![kest874](https://forum.radzen.com/letter_avatar_proxy/v4/letter/k/ba9def/32.png) [@kest874](https://forum.radzen.com/u/kest874)\
**Post date:** [November 27, 2023, 8:17pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791/4 "2023-11-27T20:17:15Z")

</div>

I found a workaround add "DOTNET\_WATCH\_RESTART\_ON\_RUDE\_EDIT" with the value of "true" as a system variable and it will restart when needed.

I was having to hit stop then start continually.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [November 27, 2023, 8:20pm UTC](https://forum.radzen.com/t/unable-to-apply-hot-reload-because-of-a-rude-edit/15791/5 "2023-11-27T20:20:55Z")

</div>

> [@kest874](#):
>
> I found a workaround add "DOTNET\_WATCH\_RESTART\_ON\_RUDE\_EDIT" with the value of "true" as

That's a good find! We can add it to the environment in Radzen Blazor Studio.
