SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

delete SolutionItem event

Last post 03-16-2007 12:22 AM by smoldok. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-15-2007 11:23 PM

    delete SolutionItem event

    Hi,

     Is there any event that get fired when I click the delete key to delete a SolutionItem in the solution?

    The solution item is a TXT under the Solution Items folder in the solution.

    I tryed SolutionSaved but it is not fired, actually the solution does not change till I close the solution.

    If I'm not missing something in the SolutionItemNode.Delete it need a this.solution.Save(); at the end.

    Then when an item in the solution is removed it will save the solution and I can trap that event.

    Thanks,

    Sean

    Filed under:
  • 03-16-2007 12:22 AM In reply to

    Re: delete SolutionItem event

    Actually I test it and, yes, it save the sln file with the change but it does not fire any event :(

    If I add the ProjectService.SaveSolution instead of just solution.Save() it will fire the event but it also will save all the projects.

    That is not that bad, but the best will be to only save the sln file and fire an event, but that event does not exist.

    The ProjectService should have a method to remove an item from the solution that fire the event.

    regards,

    sean

    Filed under:
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.