-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AOT] LINK : fatal error LNK1123: Failed during conversion to COFF: Invalid or corrupted file #86493
Comments
It worked fine before reinstalling the computer, and now a simple sentence can cause a crash, and I tried using version 8.0 later, but there was a problem and I had to downgrade back to 7.0 |
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsI TRY uninstall 7.0.5 but 7.0.302 for visual studio cannot to uninstall or replase 7.0.202 for visual studio C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.targets(350,5): err
|
Try deleting your obj and bin directories, and doing a clean build. It is what we have helped to resolve this error in dotnet/runtimelab#1436 (comment) A better solution is tracked by #79634 .
Manually deleting the .NET 7.0 version folders under |
the demo https://github.com/dotnet/runtimelab/tree/feature/NativeAOT/samples/HelloWorld |
I TRY uninstall 7.0.5 but 7.0.302 for visual studio cannot to uninstall or replase 7.0.202 for visual studio
C:\Program Files\dotnet\sdk\7.0.302\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.targets(350,5): err
or MSB3073: 命令“"D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\link.
exe" @"obj\YTLSX_R\net7.0\win-x64\native\link.rsp"”已退出,代码为 1123。 [D:\dev\company_project\WEB_webapi\webapi_mes\webap
i_mes.csproj]
Because there was a problem with the code running after AOT was compiled, I deleted many .net 7.0 version folders on the computer and uninstalled it, resulting in this problem that cannot be fixed regardless of whether it is reinstalled or not.
The text was updated successfully, but these errors were encountered: