Action disappears after including installed module to VS solution

Topics: Troubleshooting
Feb 1, 2013 at 10:23 AM
In my module I have an action(for rulles):
public class NotificationActions : IActionProvider {
        private readonly IPushSharpService _pushSharpService;

        public NotificationActions(IPushSharpService pushSharpService) {
            _pushSharpService = pushSharpService;
            T = NullLocalizer.Instance;

        public Localizer T { get; set; }

        public void Describe(dynamic describe) {
            Func<dynamic, LocalizedString> display = context => T("Send PushSharp notification");

            describe.For("Notification", T("Notification"), T("Notifications"))
                        "PushSharpNotify", T("Send PushSharp notification"), T("Sends an notifications to all registered devices via GCM using PushSharp."), (Func<dynamic, bool>) Send,

        private bool Send(object arg) {
When I remove this module from Orchard and try to install .nupkg for this module it installed successfully and all works and "Send PushSharp notification" available in actions, but when I try Add this module to VS2010 Solution this module still available in Modules and it enabled, BUT "Send PushSharp notification" disappears from all existing rules and I cannot event create new rule with this action(it absent in action list)