Connecting Tech Pros Worldwide Help | Site Map

VS2008 Code Coverage and C++/CLI

  #1  
Old September 2nd, 2008, 04:35 PM
innes
Guest
 
Posts: n/a
I can't find anything on this in the VS2008 help (searching for
'coverage' returns no results).

Can anyone confirm that VS2008's code coverage functionality doesnt
extend to working on C++/CLI assemblies, apart from the least useful
type (/clr:safe)? I think I saw that last detail somewhere on the
internet.

Thanks.
  #2  
Old September 3rd, 2008, 06:25 AM
Carl Daniel [VC++ MVP]
Guest
 
Posts: n/a

re: VS2008 Code Coverage and C++/CLI


innes wrote:
Quote:
I can't find anything on this in the VS2008 help (searching for
'coverage' returns no results).
>
Can anyone confirm that VS2008's code coverage functionality doesnt
extend to working on C++/CLI assemblies, apart from the least useful
type (/clr:safe)? I think I saw that last detail somewhere on the
internet.
It's my understanding that code coverage in VS2005/2008 covers everything -
but sometimes you have to "go offroad" and deal with the command0line
coverage tools directly instead of using the Visual. Studio support. I'll
be curious to hear if that's not the case.

-cd


  #3  
Old September 4th, 2008, 12:45 PM
innes
Guest
 
Posts: n/a

re: VS2008 Code Coverage and C++/CLI


On Sep 3, 6:15*am, "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nos...@mvps.org.nospamwr ote:
Quote:
It's my understanding that code coverage in VS2005/2008 covers everything-
but sometimes you have to "go offroad" and deal with the command0line
coverage tools directly instead of using the Visual. Studio support. *I'll
be curious to hear if that's not the case.
Thanks for the reply - I managed to get code coverage working with a
small test app, and then tried again with my assembly, and got it
working this time.

Closed Thread