✅ "Platform linker not found." error with NativeAOT (Visual Studio Insiders)
I want to compile with NativeAOT:
* I added
* I am not using reflection or any other feature that would break my app
* I have the "Desktop development with C++" workload installed
* I open "x64 Native Tools Command Prompt for VS Insiders" and
I am using this command on my Windows machine:
However, I get this error in the end:
Why can't it find the linker? What am I missing?
It used to work back when I was using Visual Studio 2022, which might be a coincidence but I suspect it is to do with the IDE itself
* I added
<PublishAot>true</PublishAot> property to my .csproj file* I am not using reflection or any other feature that would break my app
* I have the "Desktop development with C++" workload installed
* I open "x64 Native Tools Command Prompt for VS Insiders" and
where link command does seem to print a correct pathI am using this command on my Windows machine:
However, I get this error in the end:
Why can't it find the linker? What am I missing?
It used to work back when I was using Visual Studio 2022, which might be a coincidence but I suspect it is to do with the IDE itself
