Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6790467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:43:43+00:00 2026-05-26T17:43:43+00:00

I want to run code coverage in my unit tests. The issue is that

  • 0

I want to run code coverage in my unit tests.

The issue is that I sign with multiple files. MSDN indicates that this requires multiple test configurations (because code coverage config only allows selecting a single .snk file)

Can I configure the code coverage in my test config file to disable signing just during the unit testing so that I can keep a single test? I have read MSDN docs on adding the -vr to the sn as in
http://msdn.microsoft.com/en-us/library/ms243141(v=vs.80).aspx

But I don’t see how I can do this in my test config.
Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:43:44+00:00Added an answer on May 26, 2026 at 5:43 pm

    The intention of using the SN -vr option is to

    disable signing verification, for this assembly, for the duration of your test run

    So actually, you just do not re-sign your assemblies for the testing phase, and before you execute the tests you disable assembly signing verification on the computer system that your test will be running on using the SN -vr option.

    To do this in your testing sequence you can use the Setup and Cleanup Scripts page in your test configuration file. Use the Setup script line to invoke a batch script that will disable assembly signing verification for the involved assemblies on your test system. Use the Cleanup script line to invoke a batch script that will enable assembly signing verification again.

    That should work fine …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to get code coverage when running unit tests. I run ant coverage
I want to run Python code coverage tests for Google App Engine in Eclipse
I want to use GCOV to make code coverage but the tests will run
Why this code don't work,when i want run this code vwd 2008 express show
I have the following code I want to run, but the problem is $this->type
I have some jQuery/JavaScript code that I want to run only when there is
I have a question concerning this code which I want to run on QNX:
I'm using TFS2008 - soon to move to TFS2010 I want run code coverage
I want to run some code coverage analysis (using CoverStory) on our iPhone app's
I want to run a code that runs a function with a parameter (eg.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.