英文:
error MSB4019 : MSBuild auto-detection: using msbuild version '17.5.0.60103' from <location>
问题
MSBuild 自动检测: 使用位于 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\bin' 的 msbuild 版本 '17.5.0.60103'。
尝试获取 MsBuild 可执行文件。我已检查路径,msbuild 文件位于那里。
英文:
MSBuild auto-detection: using msbuild version '17.5.0.60103' from 'C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\bin'.
Trying to get the MsBuild Executable file.I have checked the path and the msbuild file is available there.
答案1
得分: 1
已修复。我只是将路径添加到环境变量中,然后它就能正常工作了!
英文:
It's fixed for me. I just added the path in the environment variable and it worked!!
答案2
得分: 0
I think this issue may come from the msbuild version and vs version doesn't match.
From the lifecycle of the VS:
https://learn.microsoft.com/en-us/dotnet/core/porting/versioning-sdk-msbuild-vs#lifecycle
and the release of VS2019 and VS2022:
https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2019
https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2022
MSBuild version 17.5.0.60103 should be contained in VS2022, but from the tag, it looks like you were using VS2019.
If possible, please clarify what you were doing and share your detailed solution if possible.
英文:
I think this issue may come from the msbuild version and vs version doesn't match.
From the lifecycle of the VS:
https://learn.microsoft.com/en-us/dotnet/core/porting/versioning-sdk-msbuild-vs#lifecycle
and the release of VS2019 and VS2022:
https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2019
https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2022
MSBuild version 17.5.0.60103 should be contained in VS2022, but from the tag it looks like you were using VS2019.
If possible, please clarify what you were doing and share your detailed solution if possible.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论