Skip to content
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: 转换到 COFF 期间失败: 文件无效或损坏 [ #2281

Closed
lozn00 opened this issue May 19, 2023 · 4 comments

Comments

@lozn00
Copy link

lozn00 commented May 19, 2023

image

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]

image

@lozn00
Copy link
Author

lozn00 commented May 19, 2023

if from visual studio uninstall ,will uninstall all package

@yowl
Copy link
Contributor

yowl commented May 19, 2023

Hi, this repo is for the experimental branches of NativeAOT. It looks like you are targeting win-x64 which is now supported by https://github.com/dotnet/runtime . You should post issues with .net 7 NativeAOT there, thanks.

@lozn00
Copy link
Author

lozn00 commented May 19, 2023

oh thank you ,i delete too file

@lozn00
Copy link
Author

lozn00 commented May 19, 2023

Because there was a problem with the code running after AOT was compiled, I deleted many 7.0 folders on the computer and uninstalled it, resulting in this problem that cannot be fixed regardless of whether it is reinstalled or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants