SharpDevelop Community

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

Browse by Tags

All Tags » addin » Command » Project (RSS)
  • Adding new items to existing project in an Addin

    Hi. I want to write an addin command that adds a file to a project. The code I tried didn't work: IProject p = ProjectService.CurrentProject; ProjectItem pi = new FileProjectItem(p, ItemType.Content); pi.Include = filename; pi.FileName = filename; p.Items.Add(pi); p.IsDirty = true where "filename"...
    Posted to Forum by itaibh on 10-27-2006
    Filed under: Addin, Project, Command, Item
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.