Re:Support Single-File Apps in .NET 5
by randombytes6869 on Thursday May 21, 2020 @10:31AM
(#23258783)
Unfortunately I have doubts. This is one of the few features copied from Java instead of the other way around. You can pre-process code in Java and generate classes at build time instead of reflecting, but I know of just a handful of libraries that leverage this.
[1] https://devblogs.microsoft.com/dotnet/introducing-c-source-g...