2012-04-07 17 views
1

我試圖在編寫ObjC綁定項目時使MonoDevelop中的intellisense工作。爲此,IDE需要知道各種綁定屬性的存在位置。什麼程序集包含btouch使用的所有MonoTouch綁定屬性

例如:
[ExportAttribute]似乎住在monotouch.dll(MonoTouch.Foundation名稱空間)中。 [LinkWithAttribute]也在monotouch.dll中(但是MonoTouch.ObjCRuntime命名空間)。

但是,我無法在任何地方找到更專業的屬性(EventArgsAttibute,EventNameAttribute等)。請參閱此處記錄的完整列表:http://docs.xamarin.com/ios/advanced_topics/binding_objective-c_types/Binding_Types_Reference_Guide

回答

2

這些屬性存在於binding compiler itself(即/Developer/MonoTouch/usr/lib/btouch/btouch.exe)中。

它們用於指示btouch指示構建綁定程序集時發出的代碼類型;它們是而不是,由運行時使用,因此不必包含在任何MonoTouch運行時程序集中。

爲了讓IntelliSense能夠正常工作,我猜想你可能只需要包含對btouch.exe的引用。

相關問題