MichalStrehovsky / zerosharp

Demo of the potential of C# for systems programming with the .NET native ahead-of-time compilation technology.
2k stars 103 forks source link

None of the samples work #9

Closed netcorefan1 closed 3 years ago

netcorefan1 commented 3 years ago

I have no idea why!

https://user-images.githubusercontent.com/63934725/107170344-5d9ade80-69c0-11eb-9bbb-6152c9fa16e4.mp4

MichalStrehovsky commented 3 years ago
error CS2001: Source file 'D:\VsIDE\zerosharp.cs could not be found

You need to set the directory where zerosharp.cs is as the current directory. The build scripts assume current directory is where the script is.

MichalStrehovsky commented 3 years ago

Oh, I see. The TentativeInstanceMethod thing.

I broke this last week in the NativeAOT repo. I'll fix it shorty.

MichalStrehovsky commented 3 years ago

Roll back the compiler to 6.0.0-alpha.1.21055.3 in the meantime.

netcorefan1 commented 3 years ago

Thanks for your help. I can't find any change in the repo. Did you published the fix elsewhere?

MichalStrehovsky commented 3 years ago

Sorry I had another pull request out that would conflict. I submitted the fix now. A NuGet package with the fix should be out within 24 hours or so.