Roland Weigelt

Born to Code

News

  • Twitter: English | Deutsch
  • GhostDoc:
  • .NET User Group:
  • Personal homepage:
  • XING:
    XING

.NET related Links

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

Ryan said:

I too am getting an installtion error. However its when i first dbl click the MSI file, it says it cannot access the path to the my documents folder. I have my documents setup on MS small business server, so my docments is actually located on the server itself. Its showing the correct path, im not sure why it cant access it. Can you provide another way of install this?


# November 8, 2005 11:02 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:

I used the RTM version of Visual Studio. I had installed the Beta version but used the uninstall tool supplied by Microsoft. In the light of Ryan's post, I'm using a mapped network drive as My Documents folder. I remember that the article about the specific exception I mentioned pertained to network drives. Could it be that the installer needs My Documents?
# November 8, 2005 3:38 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

Harry said:

I get the same error as posted above. Here is the message I get:

Could not access network location \\Server1\Share1\User1\My Documents\\Visual Studio 2005\Addins.

Why are there two \\ in the path? Could that be the problem?
Thankx, Cheers Harry
# November 8, 2005 4:02 PM

Roland Weigelt said:

Harry, thanks a lot for your comment!

I found the problem causing the double backslashes. If anybody out there reads the blog post "Deploying Add-Ins" at http://blogs.msdn.com/jim_glass/archive/2005/08/18/453218.aspx, please note that the path specified in this post ("[PersonalFolder]\Visual Studio 2005\Addins") introduces the double backslashes (the \ in front of "Visual" has to be removed)

A new, corrected setup ran into new problems, though. I'll have to investigate things a bit further, I guess.
# November 8, 2005 5:34 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

Roland Weigelt said:

BTW: Let's move the discussion to the GhostDoc forum:

http://ghostdoc.12.forumer.com/
# November 8, 2005 6:17 PM

viiii said:

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

Mike said:

Nope - that didn't help (I even uninstalled version 1.3 just in case there was some sort of conflict). I should mention that I am using VS2005 Professional...
# November 9, 2005 1:50 PM

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:

@Yuriy: I sent you an email - NOT containing the source code, but with enough information for you to be able to try a proof-of-concept.

@Everybody else: If you are interested, I'd be happy to send the same information to you (which is basically the source code to what I published here: http://weblogs.asp.net/rweigelt/archive/2003/11/28/40258.aspx).
# November 19, 2005 4:50 AM

SeanSki said:

I'm using release version of VS22005 and I had some problems during install (VS acting like the add-in wasn't installed at all). I tracked the problem to a VS using different folder (My Documents\Visual Studio\Addins) from the one specified in your install (My Documents\Visual Studio 2005\Addins). I have no idea why and how this happened, but after I copied the files from your default install to the folder used by VS everything worked fine,
# November 20, 2005 8:48 AM

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

Roland Weigelt said:

On the GhostDoc homepage, click "Forum" in the page header.

Or use the direct link (which may change in the future, though): http://ghostdoc.12.forumer.com/
# November 20, 2005 11:06 AM