views:

28

answers:

2

I'm trying to create an extension for Visual Studio that will post code from a given method and possibly the error message to my blog. I'm building a small wordpress blog for common mistakes I make so I can browser them later on possibly and help people out with the same issues.

Is this possible in Visual Studio?

A: 

If the question is simply if this is possible, then the answer is that yes, it is.

You can use the wordpress api to post blog entries.

For the visual studio part, you should be able to use WPF or winforms.

Oded
I know I can use the API, I don't know if I can make a Window type prompt inside of Visual Studio to allow me to post it.
Sergio Tapia
@Sergio Tapia - answer updated. You can use any WPF and winforms in VS.
Oded
A: 

Yes.

You can make a Visual Studio addon that includes WPF or WinForms UI to do anything you want.

SLaks
SLaks can you share a link with some demo code on how to create a simple window within Visual Studio?
Sergio Tapia
The same way you create a simple window in an ordinary EXE.
SLaks
Apparently they are called Add-ins; I'll search for those.
Sergio Tapia
http://stackoverflow.com/questions/1146776/visual-studio-2010-addin-writing-articles-tutorials
SLaks