Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Visual Studio 2008 Add in problems

web-app

Hi,

I downloaded and installed the Visual Studio 2008 Add In with no problems yesterday, but when I loaded it again today the "sign in" dialog box hadn't saved my details and had no languages in the Languages drop down list: just one entry of "System.Data.DataRo" (I'm assuming there is a "w" but it is hidden due to the width of the list).  If I try and sign in this way nothing happens.

When I run with DebugView running I get this:

00000003    22.11790085    [1124] CounterSoft Gemini: C:\Development\Card2008   
00000004    22.11965752    [1124] CounterSoft Gemini: Loading MainControl Exception. Index and length must refer to a location within the string.    
00000005    22.11965752    [1124] Parameter name: length :: mscorlib ::    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)    
00000006    22.11965752    [1124]    at System.String.Substring(Int32 startIndex, Int32 length)    
00000007    22.11965752    [1124]    at CounterSoft.Gemini.VSAddIn.MainControl..ctor()   

I loaded the add in DLL into Reflector and can see the problem.  There's the line:

Environment.CurrentDirectory.Substring(Environment.CurrentDirectory.IndexOf("Microsoft Visual Studio") + 0x18, 1);

This only happens if I double click a .sln file to open Visual Studio.  If I open VS directly and then manually load the project the add in works normally.  If I double click the .sln file I think the current directory is set to the directory of the solution, rather than the vs executable.

I've not created many complicated Add Ins before, but when you create a VS2008 Add In project in VS you get an _applicationObject variable in the main Connect class which has a Version property which should give the proper version number.

deschain
· 1
deschain
Replies (5)
helpful
0
not helpful

Thanks for the information -- we will look into this ASAP.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

This appears to be a VS 2008 install question. Please provide the target path of your VS 2008 install, which can be found under the ‘Shortcut’tab of VS 2008 properties.


Bikram
· 1
Bikram
helpful
0
not helpful

Visual Studio 2008 is installed in "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"


deschain
· 1
deschain
helpful
0
not helpful

Thanks. We are reviewing and will post back shortly.


Bikram
· 1
Bikram
helpful
0
not helpful

This issue will be addressed in 3.1 release scheduled for November 08


Bikram
· 1
Bikram