Frequently Asked Questions

  1. What programming languages does NCover support?
  2. Does NCover support C, C++, or JAVA?
  3. Does NCover support the .NET Compact Framework?
  4. Which versions of the .NET Framework does NCover support?
  5. Does NCover support Silverlight?
  6. Does NCover support Mono?
  7. Does NCover support WCF, WF, WPF, WinForms, ASP.NET, or ASP.NET MVC?
  8. Does NCover support ASP.NET or ASP.NET MVC?
  9. Does NCover support 64-bit programs?
  10. Does NCover support 32-bit programs on 64-bit computers?

What programming languages does NCover support?

NCover supports any programming language that runs on the .NET Framework Common Language Runtime and conforms to the CLI specification. Although there are many languages that meet those criteria (Wikipedia has a list here), the most widespread .NET languages are C#, VB.NET, and C++/CLI.

return to the top of the page

Does NCover support C, C++, or Java?

No. C and C++ traditionally compile directly to machine code, not the Common Intermediate Language (CIL), so NCover is unable to cover code written in either C or C++. However, Microsoft ships a C/C++ compiler that is capable of compiling C/C++ to CIL, and calls the resulting language “C++/CLI”. NCover can cover C/C++ code that has been compiled to C++/CLI.

Java compiles to the Java bytecode and runs on the Java Virtual Machine, hence NCover cannot cover Java code. However, the IKVM.NET project is an implementation of Java/the Java Virtual Machine that runs on the .NET Framework, and NCover can cover programs compiled with IKVM.NET.

return to the top of the page

Does NCover support the .NET Compact Framework?

Yes, NCover can cover applications written against the .NET Compact Framework, as long as the application is run as a stand-alone application, and not within an emulator or on a mobile device.

return to the top of the page

Which versions of the .NET Framework does NCover support?

NCover supports all versions of the .NET Framework that Microsoft has released and still supports. Currently, this includes .NET 1.1 (.NET 1.0 is unsupported), .NET 2.0, .NET 3.0, .NET 3.5, and .NET 3.5 SP1.

return to the top of the page

Does NCover support Silverlight?

NCover does not support Silverlight applications that run in the browser since those applications run on a Silverlight-specific CLR. However, Silverlight can run outside of the browser, and when it does NCover can cover it, since Silverlight then runs on the .NET Framework CLR.

return to the top of the page

Does NCover support Mono?

NCover does not support applications running on the Mono Framework. However, applications that run on the Mono Framework should be able to run on the .NET Framework when executed on a Windows OS. Once the application runs on the .NET Framework (it might need to be recompiled) NCover can cover the application.

If you do need to cover an application that runs on the Mono Framework, then Mono has several code coverage tools available. You can check them out here.

return to the top of the page

Does NCover support WCF, WF, WPF, and WinForms?

NCover supports each of the above frameworks. In particular, NCover supports WCF whether its hosted in IIS, in a Windows Service, or in a standard (Console or GUI) application. NCover also supports WPF and WinForms, although the auto-generated code in each framework sometimes leads to interesting covered/uncovered highlights.

return to the top of the page

Does NCover support ASP.NET or ASP.NET MVC?

NCover supports both standard ASP.NET and ASP.NET MVC, whether the code is tested through a unit testing tool or through a web interface.

return to the top of the page

Does NCover support 64-bit programs?

The 64-bit NCover installer (only for 64-bit computers and operating systems) offers full support for 64-bit programs.

return to the top of the page

Does NCover support 32-bit programs on 64-bit computers?

The 64-bit NCover installer comes with full support for 32-bit programs, provided through a minimal install (into C:\Program Files (x86)\NCover) of core NCover technology tuned to cover 32-bit programs.

return to the top of the page

Questions? Comments?

Contact us.