© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•9mo ago•
8 replies
caracalsam

✅ Visual studio keeps showing warning

I keep getting warning ENC0118 despite my code not being run while I'm editing it. This is a bug...
I would prefer to just not see this error ever because I know that me editing code will not change the compiled IL that is being run.

I've tried to restart VS, I'm not sure if I am supressing this warning properly.
I am running the latest version of VS.
image.png
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

❔ Visual Studio 22 not showing errors
C#CC# / help
3y ago
Visual Studio vs Visual Studio Code?
C#CC# / help
3y ago
#visual studio
C#CC# / help
2y ago
✅ Visual studio
C#CC# / help
3y ago