© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
33 replies
Twilight Rose

❔ csc command not recognized?

I recently started setting up my environment for C# and dotnet for a new laptop. I am using VS Code, and downloaded the C# Dev Kit extension, which includes everything my home PC has.

The dotnet command now works, but for some reason csc is not being recognized as a valid cmdlet, so I am unable to compile my .cs files into their executables. I've never had this problem, so I'm not sure where to start to fix this.

Feel free to ask for more information, so I can provide screenshots and whatnot.
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

❔ .NET installation not recognized, but command works
C#CC# / help
3y ago
✅ Reference not recognized
C#CC# / help
3y ago
Csc.exe exited error
C#CC# / help
2mo ago
'scriptcs' is not recognized as an internal or external command
C#CC# / help
2y ago