© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2mo ago•
8 replies
Molly

error MSB6006: "csc.exe" exited with code -1073741819.

beginnermsbuild
happens to any project (even default console ones) when i add:
    <PublishSingleFile>true</PublishSingleFile>
    <SelfContained>true</SelfContained>
    <PublishSingleFile>true</PublishSingleFile>
    <SelfContained>true</SelfContained>


stops me from doing anything C# :<

dotnet 10.0.100 and windows 10
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Csc.exe exited error
C#CC# / help
2mo ago
✅ How to Fix MSB6006 yasm.exe exited with code -1073741515 on Cosmos Kernel
C#CC# / help
3y ago
lc.exe exited with code -1
C#CC# / help
4y ago
csc.exe takes 140 Seconds to build one specific Project
C#CC# / help
15mo ago