The Missing F# Visual Studio Add-In

Software

UPDATE 2: Even weirder. I was unable to use Alt+Enter to run F# statements within the interactive console in Visual Studio 2008 on Vista, so I tried to uninstall F#. It hung with 2 seconds remaining. I switched gears, cancelled the F# uninstall, and moved to uninstall VSLab. This occured without error, but I found that F# was also uninstalled when the VSLab uninstall was complete.

After reinstalling F# 1.9.6.2, I now have:

  • The F# interactive console in Visual Studio 2008
  • The ability to use Alt+Enter to run F# statements

I don’t have:

  • The F# Add-In option in the Add-In Manager dialog.

Strange. Making progress!

**************************************************

UPDATE: Partial progress. I downloaded and installed the VSLab “Hal” release and the F# interactive console loads in Visual Studio 2008, but I get the error “Error loading the Code Window context menu item” when enabling the VSLabs Add-In:

Here’s the output from the F# console:

val ___VS_PID : int

> [Loading C:\Program Files\University of Pisa\VSLab\vslabstartup.fsx]

namespace FSI_0003

Binding session to ‘C:\Program Files\University of Pisa\VSLab\VSLabFSICore.dll’…
Error sending command to Visual Studio, RPC is likely busy, trying again (5 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (4 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (3 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (2 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (1 attempts left)…
VSLab internal error: cannot communicate with Visual Studio through DTE
Error sending command to Visual Studio, RPC is likely busy, trying again (5 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (4 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (3 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (2 attempts left)…
Error sending command to Visual Studio, RPC is likely busy, trying again (1 attempts left)…
VSLab internal error: cannot communicate with Visual Studio through DTE
Managed DirectX is missing.
>

**************************************************

I’ve had no luck today figuring out how to get the F# Add-In for Visual Studio working. On both machines – one a Windows XP box running Visual Studio 2005, and another running Vista with Visual Studio 2008 – the F# Add-In option in Visual Studio’s Tools|Add-In Manager is missing.

I’m running F# September CTP, version 1.9.6.2. It may be a distro problem.

Anyone else run into this issue?

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • Ma.gnolia
  • Reddit
  • TwitThis
5 Comments

5 Comments

  1. Antonio Cisternino  •  Sep 22, 2008 @1:16 pm

    Hi Anthony,

    Try to wait a bit and send the reset command from VSLab toolbar. I’m having problems in reproducing the situation you mention but when I first noticed the problem it was because VS was busy when VSLab was trying to communicate with the addin.

    However, the latest release of VSLab must be loaded explicitly the first time and since then should be explicitly started using Alt+Shift+V

    Let me know if this helps, in case contact me (cisterni@di.unipi.it)

    Thanks

    Antonio Cisternino
    (VSLab Team)

  2. Honestas  •  Nov 7, 2008 @1:29 pm

    Yup, I’m having the same issue. I’ll post back if I figure anything out.

  3. Honestas  •  Nov 21, 2008 @9:49 pm

    Antonio was right, but I didn’t figure out what he was actually saying until now.

    This is my experience:

    http://www.codeplex.com/vslab/Thread/View.aspx?ThreadId=40516

    Basically, the Add-In will load with errors the first time. After it loads with errors, press Alt-Shift-V. This will reset the add-in, and it should load properly from that point forward.

  4. Ajit  •  Dec 18, 2008 @11:13 am

    friends i have downloaded visual studio 2008 from the microsoft website but not able to run an F# program, actually i am new in using this but i can do it by refrences some please help me to initiate, my work what shall i do ??

  5. Dj SinaĆ«  •  Apr 6, 2009 @8:50 pm

    I have the same error with no F# addin in the addin manager.
    Also, Alt-Enter doesn’t work and i have an highlighting bug in my interactive window

    THIS SUCK BIG TIME

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">