MonoMac 和启动服务
我是一名 .NET 开发人员,正在尝试在 OS X 上开发应用程序。MonoMac 使许多事情对我来说变得很容易。我仅使用人们所做的 MonoMac 帖子和 Apple 开发人员文档就成功编写了一个对自己有用的应用程序。
我似乎无法找出如何将文件扩展名实际关联到我的应用程序。我相信这需要通过启动服务来完成,或者可能在我的项目中的 Info.plist 中添加一些内容。
有任何提示、代码或操作方法吗?
I'm a .NET Developer trying my hand at an application on OS X. MonoMac makes so many things easy for me. I've managed to write an application useful to myself using just the MonoMac posts people have done and the Apple Developer documentation.
I can't seem to find out how to actually associate a file extension to my application. I believe this needs to be done via Launch Services or maybe add something to the Info.plist in my project.
Any hints, code or how tos?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读 Apple 有关运行时配置的指南: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/000-Introduction/introduction.html 正如这个答案所指出的:如何将指定类型的文件与我的程序关联?
Read this guidelines on Runtime Configuration from Apple: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/000-Introduction/introduction.html as pointed by this answer: How to associate a specified type of file with my program?