SharpDevelop Community

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

When you select or create an assembly key the key file should be added to the project

Last post 06-25-2008 4:39 AM by zippy1981. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-16-2008 3:38 AM

    When you select or create an assembly key the key file should be added to the project

    I am working on modifying Signing.cs to do this. If CreateKey.ShowDialog returns DialogResult.OK I will add the file to the project and subversion as soon as I can figure out how to do that.

  • 06-23-2008 3:52 AM In reply to

    Re: When you select or create an assembly key the key file should be added to the project

    This adds the snk file toi the project, but it does not display in the project panel unless you reload the solution.

     

    Index: Signing.cs
    ===================================================================
    --- Signing.cs    (revision 3129)
    +++ Signing.cs    (working copy)
    @@ -106,6 +106,8 @@
                         createKey.KeyFile = project.Name;
                         if (createKey.ShowDialog(WorkbenchSingleton.MainForm) == DialogResult.OK) {
                             keyFile.Text = createKey.KeyFile;
    +                        project.MSBuildProject.AddNewItem("None", createKey.KeyFile, true);
    +                        project.Save();
                             return;
                         }
                     }
     

  • 06-25-2008 4:39 AM In reply to

    Re: When you select or create an assembly key the key file should be added to the project

     I have a longer and seemingly fully functional patch awaiting peer review from the other developers.

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