Updated information about VSTO below
As you may know, the .NET Framework 1.1 (“Everett”) Service Pack 1 Tech Preview is . You should try to install this on your non-production machines and test to make sure your existing applications continue to run. Please report any problems you find to the .
Just a quick word of warning though:
I wasted about 5 hours the other night tracking down a “bug” in a brain-dead simple VSA host app I had built. Turns out that whilst the JScript engine works flawlessly (of course 🙂 ), the VB VSA engine doesn’t work in the Tech Preview. Basically any attempt to call IVsaEngine.Run will result in a “The parameter is incorrect” error due to a communication problem between the native and managed code portions. It will apparently be fixed for RTM.
Update Monday 19th July:
It turns out that VSTO 2003 is also affected by this same problem, but in a different way. VSTO customisations will run OK with the Tech Preview, but they may not get unloaded when you close the associated Word or Excel document. This means that if you hook application-level events, or you run code off a timer, or perform some other actions that can get triggered by things outside the scope of the document, your code may continue to run and receive these notifications even when the original file is closed. Closing down the host application will of course unload the code correctly.
This message brought to you by the number ‘4’ and the letters ‘F’ and ‘S.’ You figure it out 😉