Using Compare operation in VS2010, Beta 2 results in 'Diff application /sgdm.exe could not be found'; the same applies to 'Diff' from a View History explorer from VS 2010.
We are using Vault 5.0.1 (18729)
I converted our solution from VS2008 to VS2010 without problem. I have checked all the settings with VS2008 (still installed on my system) and they are identical.
Using SourceGear Vault Classic Client.
I have done both a Repair, and an Uninstall/Reinstall of the Vault Client, and rebooted the system (Windows 7 Enterprise 64 bit operating system).
The compare works fine with VS2008 (and the VAULT_EXE_DIR variable appears to be set to the C:\Program Files (x86)\SourceGear\VaultClient\VS2003_Client) in the VS2008 application [checked by altering Diff option to %VAULT_EXE_DIR%/sdgmx.exe and getting the error Diff application C:\Program Files (x86)\SourceGear\VaultClient\VS2003_Client/sgdmx.exe could not be found].
It appears as if the %VAULT_EXE_DIR% variable in VS2010 is not being expanded or is not set when operating VS2010 Beta 2.
I also note that both VS2010 and VS2008 are using the same option settings from the registry [checked by setting Diff program to sdgmx.exe in VS2008, then starting VS2010 and seeing what the same option was set to; it was set to %VAULT_EXE_DIR%/sgdmx.exe
Is it something to do with having both VS2008 SP1 and VS2010 Beta 2 installed on the sytem at the same time?
Any suggestions?
VS2010 Beta 2 - unable to diff files
Moderator: SourceGear
9 posts • Page 1 of 1
|
Posts: 7921
Joined: Tue Dec 16, 2003 1:25 pm Location: SourceGear |
We haven't had other reports of this, so we're not sure what the problem is. We'll try to reproduce it here.
Linda Bauer
SourceGear Technical Support Manager |
|
Further information for you; this behaviour seems isolated to machines running windows 7; another system running windows XP has no problems. Two systems tested so far with Windows 7 64 bit have the problem. I am having someone running Vista install VS2010 Beta 2 and we'll set what happens there (be about 2 hours).
|
|
|
Just an aside observed while I was trying to figure out what was going on. Running the assembling binding log viewer to see if I could see someone failing to load a key DLL, I observed that both for VS2010 and VS2008 an attempt (and failure) to load VaultClientNetLib.XmlSerializers, Version=5.0.1.18729
Not sure if it is relevant or not but thought I would note it. The fusion log for DEVENV.EXE (VS2008) is as follows: *** Assembly Binder Log Entry (20091201 @ 11:05:25) *** The operation failed. Bind result: hr = 0x80070002. The system cannot find the file specified. Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe --- A detailed error log follows. === Pre-bind state information === LOG: User = XXXXXXXX\kadorken LOG: DisplayName = VaultClientNetLib.XmlSerializers, Version=5.0.1.18729, Culture=neutral, PublicKeyToken=e372e94840f8a4d3 (Fully-specified) LOG: Appbase = file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/ LOG: Initial PrivatePath = NULL LOG: Dynamic Base = NULL LOG: Cache Base = NULL LOG: AppName = NULL Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.Config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: VaultClientNetLib.XmlSerializers, Version=5.0.1.18729, Culture=neutral, PublicKeyToken=e372e94840f8a4d3 LOG: GAC Lookup was unsuccessful. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PublicAssemblies/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PublicAssemblies/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PrivateAssemblies/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PrivateAssemblies/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.DLL. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/VaultClientNetLib.XmlSerializers.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PublicAssemblies/VaultClientNetLib.XmlSerializers.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PublicAssemblies/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PrivateAssemblies/VaultClientNetLib.XmlSerializers.EXE. LOG: Attempting download of new URL file:///C:/Program Files (x86)/SourceGear/Vault Client/VS2003_Client/PrivateAssemblies/VaultClientNetLib.XmlSerializers/VaultClientNetLib.XmlSerializers.EXE. LOG: All probing URLs attempted and failed. |
|
|
Posts: 7921
Joined: Tue Dec 16, 2003 1:25 pm Location: SourceGear |
The environmental variable is not working for the diff configuration. We were able to get Diff to work by browsing to the Diff/Merge location using the Browse button in the Vault Client under Tools->Options->Diff/Merge->Diff Program. Let me know if this does not resolve the problem.
Linda Bauer
SourceGear Technical Support Manager |
|
Yes, if change the configuration from %VAULT_EXE_DIR% to C:\Program Files ..... as an absolute location, I can diff from VS2010 now (I'll change merge to the same thing).
I guess you need to figure out while the %VAULT_EXE_DIR% environment/macro isn't defined in this particular environment. Will post results of Vista testing shortly. |
|
|
Posts: 7921
Joined: Tue Dec 16, 2003 1:25 pm Location: SourceGear |
I've logged bug 15106 and we'll fix this in a maintenance release.
Linda Bauer
SourceGear Technical Support Manager |
|
We just ran into this problem. Has there been a resolution/update to this? We are using version 3.1.8(3771) of Vault.
Thanks, ld |
|
|
Posts: 7921
Joined: Tue Dec 16, 2003 1:25 pm Location: SourceGear |
The problem with Diff in VS 2010 on Windows 7 was fixed in Vault 5.0.3.
Linda Bauer
SourceGear Technical Support Manager |
9 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests
