gpt4 book ai didi

c# - 默认模板的 MonoMac 构建错误

转载 作者:太空宇宙 更新时间:2023-11-03 13:58:26 24 4
gpt4 key购买 nike

我正在尝试使用 MonoDevelop 3.0.3.2 创建 MonoMac 应用程序。我创建了一个新的 MonoMac 解决方案并尝试运行创建该解决方案后创建的模板,但这是我的构建输出:

Building Solution: MAC1 (Debug|x86)

Building: MAC1 (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.9/bin/dmcs /noconfig
"/out:/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.dll"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.dll"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Core.dll"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.Linq.dll"
"/r:/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Drawing.dll"

"/r:/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86
"/define:DEBUG" /t:exe "/Users/zgillis/Projects/MAC1/MainWindow.cs"
"/Users/zgillis/Projects/MAC1/MainWindowController.cs"
"/Users/zgillis/Projects/MAC1/MainWindow.designer.cs"
"/Users/zgillis/Projects/MAC1/Main.cs" "/Users/zgillis/Projects/MAC1/AppDelegate.cs"
"/Users/zgillis/Projects/MAC1/AppDelegate.designer.cs"

Copying content files
Copying '/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe' to
'/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.app/Contents/MonoBundle/MAC1.exe'
Copying '/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.exe.mdb' to
'/Users/zgillis/Projects/MAC1/bin/Debug/MAC1.app/Contents/MonoBundle/MAC1.exe.mdb'
Build complete -- 0 errors, 0 warnings

Updating application manifest

---------------------- Done ----------------------

Build successful.
Build failed. The given key was not present in the dictionary.

我正在运行 Mac OS X Snow Leopard (10.6.8),我的 Xcode 版本是 3.2.2。

它甚至不允许我编译默认的 MonoMac 模板,所以我知道我一定是配置不正确。感谢您的帮助。

最佳答案

看起来您的 Xcode 版本很旧 - MonoDevelop 对从较旧的 Apple SDK 的 plist 中读取值的支持可能已经退化。我建议你要么升级 Xcode,要么 file a bug附有 MonoDevelop 日志文件(位于 ~/Library/Logs/MonoDevelop-3.0 中)。

关于c# - 默认模板的 MonoMac 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11407196/

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