Closed jewes closed 10 years ago
There isn't a UI, that is still on the todo list as well as a boot-strapper. Check in the add/remove programs and see if it is there or under "Program Files".
You may also need to install the latest version of Windows Installer (but as a developer you probably already have that) and .NET 4.0 Framework as the console application uses that.
Thanks for the quick response. I have the msi installer created a log file and realized that this opencover was installed successfully. Just found there was another thread to discuss improving the installer.
yup - I hope to complete my release 2.0 stuff over the holiday break - any other issues let me know - the wiki is a good place to start around usage
OpenCover is very good tool for .NET code coverage. The problem is I cannot run open cover on 2003 server 64bit machine. I am not able to register 64bit profiler dll, it is throwing an exception.
D:\JnknSlave\workspace\Tcvg>"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -target:RunTests.bat -register:user -filter:+[IFS.BusinessLayer]* +[IFS.DataAccess]* +[IFS.GLSMessa ging]* +[IFS.Workflows]* -output:OpenCoverOut.xml
An exception occured: Failed to register(user:False,register:True,is64:True):3 t he profiler assembly; you may want to look into permissions or using the -regist er:user option instead. C:\WINDOWS\system32\regsvr32.exe /s "C:\Program Files (x86)\OpenCover\x64\OpenCover.Profiler.dll" stack: at OpenCover.Framework.ProfilerRegistration.ExecuteRegsvr32(Boolean us erRegistration, Boolean register, Boolean is64) at OpenCover.Console.Program.Main(String[] args)
D:\JnknSlave\workspace\Tcvg>pause Press any key to continue . . .
Below is run test batch file content ------- RunTests.bat--------- D:\nunit-2.5.9\nunit-console.exe D:\JnknSlave\workspace\Tcvg\src\BusinessLayer.test.dll /noshadow
Open Cover is the best available open source tool for .NET code coverage. It works well with 32bit systems, in fact it wouldn’t work with windows 2003 server on 64bit machine. The 64 bit profiler dll is throwing an exception even when manually registering for the server.
See below OpenCover.Console run command and exception
------OpenCover.Console run command---------- D:\JnknSlave\workspace\Tcvg>"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -target:RunTests.bat -register:user -filter:+[IFS.BusinessLayer]* +[IFS.DataAccess]* +[IFS.GLSMessa ging]* +[IFS.Workflows]* -output:OpenCoverOut.xml
------Exception---------- An exception occured: Failed to register(user:False,register:True,is64:True):3 t he profiler assembly; you may want to look into permissions or using the -regist er:user option instead. C:\WINDOWS\system32\regsvr32.exe /s "C:\Program Files (x86)\OpenCover\x64\OpenCover.Profiler.dll" stack: at OpenCover.Framework.ProfilerRegistration.ExecuteRegsvr32(Boolean us erRegistration, Boolean register, Boolean is64) at OpenCover.Console.Program.Main(String[] args)
D:\JnknSlave\workspace\Tcvg>pause Press any key to continue . . .
-------RunTests.bat--------- D:\nunit-2.5.9\nunit-console.exe D:\JnknSlave\workspace\Tcvg\src\BusinessLayer.test.dll /noshadow
Do you need 64 bit support on Windows 2003?
Yes, I need help on running Open Cover on Windows 2003 64bit server.
As I don't have a 64 bit windows 2003 server I'll need more information from you.
When you call
C:\WINDOWS\system32\regsvr32.exe /s "C:\Program Files (x86)\OpenCover\x64\OpenCover.Profiler.dll"
What error do you get? Is there anything recorded in the EventLogs?
I will send you more information
-RTalla 917-297-3319(cell) http://www.rktalla.com Sent from my iPhone
On Apr 24, 2014, at 12:04 AM, Shaun Wilde notifications@github.com wrote:
As I don't have a 64 bit windows 2003 server I'll need more information from you.
When you call
C:\WINDOWS\system32\regsvr32.exe /s "C:\Program Files (x86)\OpenCover\x64\OpenCover.Profiler.dll" What error do you get? Is there anything recorded in the EventLogs?
— Reply to this email directly or view it on GitHub.
Hi, I have the same problem trying to use OpenCover.4.5.2506 on a Windows 2003 64 bit server. I've tried installing all service packs, even installed Visual Studio 2010 professional SP1, but I still have the Failed to register error. And executing C:\WINDOWS\system32\regsvr32.exe /n /i:user "C:\sgstrunk\SanWF\SanWF\packages\OpenCover.4.5.2506\x64\OpenCover.Profiler.dll" gives the error LoadLibrary(...) failed: the specified module could not be found
As I don't have a 64 bit windows 2003 server I'll need more information from you.
When you call
C:\WINDOWS\system32\regsvr32.exe /s "C:\Program Files (x86)\OpenCover\x64\OpenCover.Profiler.dll"
What error do you get? Is there anything recorded in the EventLogs?
Even with this information I may not be able to help due to not having the infrastructure to reproduce.
I double checked the EventLog, but nothing is logged when you run regsvr32.. .... .opencover.profiler.dll
I can't see what I can do to help you.
Do you need the /s switch? From the docs, it seems like it supresses error messages.
Tested a simple no-permission situation on Win8.1, with /s it fails silently. Without there's a message box with the alerts.
Without the ability to investigate this I am closing this issue - windows server 2003 is going to be unsupported by MS in July 2015 (http://www.microsoft.com/en-au/server-cloud/products/windows-server-2003/).
To support/investigate this issue is too expensive for the number of users affected - my suggestion is to stop using a 11 year old OS and upgrade.
I downloaded the latest version 2.0.802.msi file. The installation wizard doesn't show when I double click it. There is a process named msiexec. Any idea on how to diagnose this issue?