Ask a questionAsk a question
 

AnswerGetting rid of Warning VSP2013

  • Monday, April 17, 2006 5:12 PMMatt Bamberger Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm trying to generate a warning-free build so that all new warnings are immediately obvious.  Every time I run tests on our DLLs with code coverage turned on I get

    "Warning VSP2013 : Instrumenting this image requires it to run as a 32-bit process.  The CLR header flags have been updated to reflect this."

    I want to stop getting this message, so how do I either:

    1) Suppress this message?

    or

    2) Change something so that instrumentation does not have to change anything?

    Thanks you for your help.

    Matt

Answers

  • Thursday, April 20, 2006 3:18 PMAngryRichard MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    1) From what I can tell, there's no way to suppress the warning from the IDE (someone from the test tools team might correct me here).  If you were using the command line, you'd add /nowarn:2013 to the vsinstr command.

    2) In your projects' properties: Properties -> Build -> Platform target -> x86.  This will target your assemblies at the 32-bit runtime, and instrumentation will not need to modify the loader flags for the assembly.

All Replies

  • Thursday, April 20, 2006 3:18 PMAngryRichard MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    1) From what I can tell, there's no way to suppress the warning from the IDE (someone from the test tools team might correct me here).  If you were using the command line, you'd add /nowarn:2013 to the vsinstr command.

    2) In your projects' properties: Properties -> Build -> Platform target -> x86.  This will target your assemblies at the 32-bit runtime, and instrumentation will not need to modify the loader flags for the assembly.