Runtime Error

Discussion of open issues, suggestions and bugs regarding file and folder merge tool – Code Compare
Post Reply
zka
Posts: 3
Joined: Tue 22 Jun 2010 11:55

Runtime Error

Post by zka » Tue 22 Jun 2010 12:04

Windowx XP SP3 Pro Eng x86
Visual Studio 2010 Premium full
CodeCompare v1.00.10

I received the following window:

"CodeMerge.exe - .NET Framework Initialization Error"
Unable to find a version of runtime to run this application.

What should I do?

Artem
Devart Team
Posts: 137
Joined: Mon 21 Jun 2010 14:02

Post by Artem » Tue 22 Jun 2010 13:19

The current version of CodeCompare requires .NET Framework 2.0 to be installed.

zka
Posts: 3
Joined: Tue 22 Jun 2010 11:55

Post by zka » Tue 22 Jun 2010 15:33

It was run only after installation .NET Framework 3.0

python
Posts: 7
Joined: Wed 23 Jun 2010 09:19

Post by python » Wed 23 Jun 2010 09:22

I have 2008 and 2010 installed, both with Resharper 5.0. It crashes 2008. The installation was bugfree, but if i try to use the CodeCompare (click 'new compare' button) it crashes the 2008. Any suggestions?

python
Posts: 7
Joined: Wed 23 Jun 2010 09:19

Post by python » Wed 23 Jun 2010 09:25

By the way, you forum enginee shows me something like "'register.tmpl' not found" if i was not logged in and clicked "new topic" or "post reply" :)

zka
Posts: 3
Joined: Tue 22 Jun 2010 11:55

Post by zka » Wed 23 Jun 2010 11:52

Many thanks for excellent product.

The my problem has solved. Has found out that VS 2010 sets only .NET 4.0. On pure WinXPProSP3 .NET isn't present. Because of it there was error. It was necessary to instal .NET 2.0 or .NET 3.0.

Please write in the CodeCompare requirement, that is necessary .NET 2.0.

Artem
Devart Team
Posts: 137
Joined: Mon 21 Jun 2010 14:02

Post by Artem » Wed 23 Jun 2010 13:37

python wrote:I have 2008 and 2010 installed, both with Resharper 5.0. It crashes 2008. The installation was bugfree, but if i try to use the CodeCompare (click 'new compare' button) it crashes the 2008. Any suggestions?
Try to switch "Use enhanced scrollbars" off. This option can conflict with Resharper.

To access CodeCompare options, go to the Tools->Options main menu in Visual Studio and select the CodeCompare node.

python
Posts: 7
Joined: Wed 23 Jun 2010 09:19

Post by python » Thu 24 Jun 2010 09:51

Artem wrote: Try to switch "Use enhanced scrollbars" off. This option can conflict with Resharper.

To access CodeCompare options, go to the Tools->Options main menu in Visual Studio and select the CodeCompare node.
It has worked for me! Thank you. But VS 2008 still crashes until i restart it after option changes. And it was not related to Source control (TFS in my case). I've just opened any .cs file and clicked the "New Comparison" tool button or "Compare Current Document".

Another reason why i not still switched from winmerge:
If i try to compare the TFS file versions i get annoying message box "File doesn't exist".

Image

My configuration: Windows 7 x64, VS 2008, CodeCompare 1.0.11 and TFS 2008 with user tools configured like described on you web site:
CodeCompare 1.0.11
C:\Program Files (x86)\Devart\CodeCompare\CodeComp.exe SC=TFS /T1=%6 /T2=%7 %1 %2
C:\Program Files (x86)\Devart\CodeCompare\CodeMerge.exe /TF=%1 /MF=%2 /RF=%4 /BF=%3 /TT=%6 /MT=%7 /SC=TFS
Have you any logging system to show which file was not found?

Artem
Devart Team
Posts: 137
Joined: Mon 21 Jun 2010 14:02

Post by Artem » Thu 24 Jun 2010 10:54

Unfortunally, as for today, not found files are not logged.
But in your case the error occurs because you miss slash before /SC argument

python
Posts: 7
Joined: Wed 23 Jun 2010 09:19

Post by python » Thu 24 Jun 2010 13:07

Artem wrote:you miss slash before /SC argument
Thank you again - it works now.

Post Reply