© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•7mo ago•
5 replies
Elban

Hot Reload Error "The using directive for 'System' appeared previously as global using"

I’m experiencing an issue with Hot Reload in a WPF application using BlazorWebView. When attempting to use Hot Reload, I get the following errors:

The using directive for 'System' appeared previously as global using
The using directive for 'System' appeared previously as global using


These are auto-generated files from .xaml files.
Deleting bin/obj and restarting Visual Studio does not resolve the problem.
The issue occurs on all developer machines.

I found a related report from Daniel Roth here:
https://developercommunity.visualstudio.com/t/Hot-Reload---Unexpected-error/10743588?sort=active

Is anyone aware of a workaround for this? Has anyone managed to solve it, or is there an update from Microsoft on this issue?

Thanks in advance.
Developer Community
Developer Community
Developer Community
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ using keyword as a directive
C#CC# / help
12mo ago
✅ More powerful Hot Reload for C# / .NET
C#CC# / help
8mo ago
global::System.Console.WriteLine(); error
C#CC# / help
3y ago
❔ VS 2022 Hot Reload disabled
C#CC# / help
3y ago