2 ms·
Semi-tangent, but as someone who didn't try to follow AOT compilation but very much wants to, would anyone have tl;dr instructions using the current version of
by mehrdadn 8y ago
Semi-tangent, but as someone who didn't try to follow AOT compilation but very much wants to, would anyone have tl;dr instructions using the current version of .NET on how to turn a HelloWorld.cs file into a native HelloWorld.exe? You'd think it's just calling a couple of commands on the command line, but every time I've searched for it I've come across pages and pages of documentation I had no time to look through.
- 1000010110 8y ago1. Get Visual Studio. 2. Install .NET. 3. New > Create New Project. 4. Choose Console Application (C#). 5. Rename Program to HelloWorld. 6. Go to properties and change Startup object to "ProjectName".HelloWorld. 7. Run
- mehrdadn 8y agoThat just gives me a .NET EXE, not a native EXE. Also I was looking for compilation instructions I can run myself (like csc HelloWorld.cs), not an IDE to run everything for me.