[Mono-bugs] [Bug 665840] Need a macro to replace tokens in attribute string constants (eg: __PackageName__ )

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 20 09:27:59 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=665840

https://bugzilla.novell.com/show_bug.cgi?id=665840#c2


--- Comment #2 from Jonathan Dick <jondick at gmail.com> 2011-01-20 14:27:59 UTC ---
Just a thought, is there some way a constant could be used?

[IntentFilter(Categories = new string[] { Android.App.Application.PACKAGE_NAME
} ...)]

I suspect you could make public const string PACKAGE_NAME = "__PackageName__";
however that wouldn't be terribly useful at runtime if someone used it.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list