Roland Weigelt

Born to Code

News

.NET related Links

Archives

GhostDoc 1.9.0 (for Visual Studio 2005) Released

The highly anticipated version of GhostDoc for Visual Studio 2005 has just been released (download on the GhostDoc homepage)

Originally I had planned to give it the version number 2.0, but for various reasons I couldn’t do much more than just porting version 1.3.0 (the most recent release for 2003) to Visual Studio 2005.

So the big feature is: GhostDoc 1.9.0 runs inside Visual Studio 2005 and the dialogs more or less match the style of the GUI (icons, general look). Unfortunately I didn’t have time to update the screenshots in the help file, but no functionality has changed so I’m pretty sure you can live with that ;-)

Umm… OK… one more thing: Anyone interested in VB.Net support? I’ve added what I call “experimental support”. In Visual Studio 2005, the CodeDOM for VB.Net now supports the DocComment property, so it was pretty easy to get this running in principle (some adjustments had to be done, though). But to be honest, I didn’t have the time (and experience in VB.Net) to test this enough to be an official feature of GhostDoc 1.9.0. So VB.Net support is turned off by default and you have to turn it on in the configuration dialog, on the “Options” tab. To the VB.Net developers out there: give it a try and tell me what you think. Oh, it would be very nice if somebody could port the demo project to VB.Net – the VB syntax keeps my head spinning… (sorry, I’m a curly braces guy since Turbo C 2.0).

By the way, this release is my entry for the Larkware 2005 Developer Tool Programming Contest; let’s see how things turn out for me and what the other competitors came up with.

Comments

JonasL said:

Great to hear that you have a version of GhostDoc for VS2005!

Unfortunately I cannot find a download link on the GhostDoc home page :-( (the page has a number of broken links).
# November 7, 2005 10:53 PM

Roland said:

Gaah! That's why you shouldn't release software deep at night... The GhostDoc homepage was correct when I released 1.9.0 - but only for a few minutes. After writing this blog entry, I wanted to link from the homepage to the entry and somehow mixed up various index.htm files... FIXED!
# November 8, 2005 2:48 AM

Frans Bouma said:

GREAT! :)

I've hit Cntrl-E in vs.net 2005 so many times now and then realizing it's not doing anything because ghostdoc wasn't available, so you made me a happy person with this release!

Good luck in the contest. :)
# November 8, 2005 4:16 AM

ZoEpErCaViA said:

When I try to install the 1.9.0 (VS2005) version I get the following error at the end of the installation:

Unable to create an instance of the Weigelt.Ghostdoc.AddInInstaller installer type --> Exception has been thrown by the target of an invocation --> That assembly does not allow partially trusted callers

I checked the error on the web but I could not figure out how to fix it (you can't change .Net security policy for .msi files).
# November 8, 2005 7:05 AM

Roland Weigelt said:

Ok, there seems to be a problem with the installer on some systems, I got another report of this exception by email. I'll look into that when I'm back at home this evening.
# November 8, 2005 7:12 AM

Roland Weigelt said:

Question to "ZoEpErCaViA": Which version of VS2005 (Beta 2 / RC1 / RTM) did you use? The other person with problems tried to install GhostDoc 1.9.0 on Beta 2. I personally have only tested RTM.
# November 8, 2005 10:15 AM

Mike said:

I didn't get any errors during installation, but GhostDoc doesn't seem to be available inside of Visual Studio...
# November 8, 2005 12:48 PM

ZoEpErCaViA said:

Ah! I changed the location of My Documents to a local folder and then tried to install.. and it worked! Prob you need to explicitly indicate that your installer needs the rights to write to network drives. Or maybe I can indicate that the mapped network drive is trusted, but that is not really a solution...
# November 8, 2005 3:42 PM

Roland Weigelt said:

ZoEpErCaViA,

regarding the mapped network drive: This will be fixed along with the other network path problem. I guess I'll have to return to installing GhostDoc to a folder below "Program Files" and store only the XML registration file in "my documents\Visual Studio 2005\Addins".
# November 8, 2005 6:13 PM

Roland Weigelt said:

Mike,

please try the following:

- Uninstall GhostDoc
- Start Visual Studio 2005 (without loading a project)
- Close Visual Studio 2005
- Install GhostDoc again

Does this help?

Anyway, I'll look into this for the next version as well.
# November 8, 2005 6:16 PM

viiii said:

installer not working here either, same problem as above (path access)
# November 9, 2005 1:47 AM

Yuriy said:

I am volunteering to take a GhostDoc to a new level. I’d like to make it work on VS 2003 for VB.NET. The reason being I’ve being recently converted into VB.Net developer against (I am C/C++/C# guy) my will and now I need to comment mine and somebody else code. So I think it would be a great value for me and will give it back to a community. Please share your source code and I’ll do the rest. I am @ Yuriy.shvadskiy at emagination.com
# November 16, 2005 2:45 PM

Roland Weigelt said:

Hi SeanSki,

I have noticed this behavior on two machines, but right now I don't have an idea what the reason is. The documentation I've read so far always stated that "Visual Studio 2005\Addin" is a pretty much fixed folder (unless you delete it from the configuration), and I haven't found (ok, I haven't looked too hard) a way to determine the user-specific directory for addins.

With 1.9.1 (which was released just minutes ago), it is possible to install GhostDoc "for all users", which during private testing of an 1.9.1 pre-release version on a colleague's machine solved the problem of GhostDoc not being recognized at all .
# November 20, 2005 11:02 AM