gpt4 book ai didi

linux - xbuild:任务 GenerateResource FAILED,认为不存在的文件比源文件更新

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:43:34 28 4
gpt4 key购买 nike

我已经从 Xamarin 源代码为我的 debian 安装了新的 mono 和 monodevelop,构建两个不相关的项目导致了同样的错误:

% xbuild /verbosity:diagnostic
Target GenerateResources:
Task "GenerateResource"
Using task GenerateResource from Microsoft.Build.Tasks.GenerateResource, Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Resource file 'obj/x86/Debug/WinFormsGraphicsDevice.MainForm.resources' is newer than the source file 'MainForm.resx', skipping.
Resource file 'obj/x86/Debug/WinFormsGraphicsDevice.Properties.Resources.resources' is newer than the source file 'Properties/Resources.resx', skipping.
Resource file 'obj/x86/Debug/OpenTK.GLControl.resources' is newer than the source file 'ThirdParty/GLControl/GLControl.resx', skipping.
Task "GenerateResource" execution -- FAILED

显然文件不存在(在 obj/x86/Debug 中只有 WinFormsGraphicsDevice.csproj.FilesWrittenAbsolute.txt)

这是怎么回事?我已经花了三个晚上的时间从 Mono 收到新的错误。

最佳答案

我已经通过安装 mono-devel 修复了它,显然我没有,这并没有阻止 monodevelop 安装或编译源代码,但是这阻止了 xbuild 正常工作并且它不能告诉我为什么。

关于linux - xbuild:任务 GenerateResource FAILED,认为不存在的文件比源文件更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39967914/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com