locked
writing first plugin - writer does not recognize RRS feed

  • Question

  • Hello,

    I have found a couple of tutorials to create a very basic plugin. i also watch the video on chanell 9

    the tutorial i am working on now is
    http://www.liveside.net/developer/archive/2006/10/11/Writing-Plugins-For-Windows-Live-Writer-_2D00_-Adding-An-Icon.aspx

    everything seems to work, it builds and places a dll in the plugins directory, but when i start writer it does not see my plugin.

    can someone give me guidance on how to debug this?

    This is the code that i am using

    thanks for any help

    using System;
    using System.Collections.Generic;
    using System.Text;
    using WindowsLive.Writer.Api;
    using System.Windows.Forms;
    
    
    namespace MyNewPlugin
    {
      [WriterPlugin("8638eda4-6533-4d19-9da7-ff92ff5a7590", "My First Plugin",
        Description="This is my first plugin",
        HasEditableOptions=false,
        Name="My First Plugin",
        PublisherUrl="http://www.hello.com",
        ImagePath="myicon.ico")]
      [InsertableContentSource("From MyNewPlugin")]
      
      public class NewPlugin : ContentSource
      {
        public NewPlugin()
        {
        }
    
        public override DialogResult CreateContent(IWin32Window dialogOwner, ref string newContent)
        {
          newContent = "This was put in by my first Live Writer Plugin :)";
    
          return DialogResult.OK;
        }
      }
    }
    

     

     


    RP
    Thursday, July 8, 2010 9:28 PM

All replies

  • Not sure if it will be this, but worth a try. Right click on the project in the solution explorer, go to the properties. Then click on the Assembly properties button, in there you will have a GUID, copy that GUID and replace the one in your plugin code (where it says [WriterPlugin("....), then try rebuilding the plugin.


    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.
    Thursday, July 8, 2010 10:58 PM
  • thanks, i have already tried that
    RP
    Thursday, July 8, 2010 11:40 PM
  • Just a thought, what version of .NET Framework are you targetting with your plug-in?
    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.
    Thursday, July 15, 2010 9:54 AM
  • Had the same problem; setting it to compile for .NET 3.5 did the trick for me.
    Monday, July 19, 2010 9:54 PM