Skip to content

Einfache Gui um C# code mittels .net Framework in exe zu compilieren

Notifications You must be signed in to change notification settings

zeittresor/compile-c-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CSC GUI Builder (Windows 10)

Kleines Tkinter-GUI (nur Python-Stdlib), das eine einzelne C#-Datei (.cs) zu einer Windows-EXE (.exe) kompiliert.

Es versucht zuerst den klassischen .NET Framework csc.exe zu nutzen. Wenn das nicht passt (z. B. moderne .NET 6+/WinForms Codes), kann es automatisch auf .NET SDK (dotnet publish) wechseln – inkl. optionaler Auto-Installation.

compile-c#

testcode


Features

  • Source auswählen (.cs) + Output-EXE speichern
  • Backend-Auswahl:
    • auto (smart)
    • csc (klassischer .NET Framework Compiler)
    • dotnet (.NET SDK / modern)
  • Auto-Mode erkennt WinForms/WPF und moderne Syntax und bevorzugt dann dotnet
  • WinForms/.NET 6+ Support (z. B. ApplicationConfiguration.Initialize()), da das Tool im dotnet-Modus ein Windows-Targeting-Projekt erzeugt
  • ✅ Fortschrittsbalken (GUI) + lesbares Log
  • ✅ Mehrsprachig (DE / EN / FR / SP / CHN / RU)
  • ✅ Vollständige Raw-Logs unter ./logs/*.log (für Debugging)

Voraussetzungen

  • Windows 10
  • Python 3.x (für das GUI)
  • Optional/je nach Backend:
    • csc.exe aus .NET Framework (oft bereits vorhanden)
    • .NET SDK (dotnet) für moderne Projekte / WinForms / WPF

Installation

Clone oder ZIP-Download vom Repo, dann:

python csc_gui.py

About

Einfache Gui um C# code mittels .net Framework in exe zu compilieren

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published