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 56567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:33:17+00:00 2026-05-10T17:33:17+00:00

On a class library project, I set the Start Action on the Debug tab

  • 0

On a class library project, I set the ‘Start Action’ on the Debug tab of the project properties to ‘Start external program’ (NUnit in this case). I want to set an environment variable in the environment this program is started in. How do I do that? (Is it even possible?)

EDIT:

It’s an environment variable that influences all .NET applications (COMplus_Version, it sets the runtime version) so setting it system wide really isn’t an option.

As a workaround I just forced NUnit to start in right .NET version (2.0) by setting it in nunit.exe.config, though unfortunately this also means all my .NET 1.1 unit tests are now also run in .NET 2.0. I should probably just make a copy of the executable so it can have its own configuration file…

(I am keeping the question open (not accepting an answer) in case someone does happen to find out how (it might be useful for other purposes too after all…))

  • 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. 2026-05-10T17:33:17+00:00Added an answer on May 10, 2026 at 5:33 pm

    In Visual Studio 2008 and Visual Studio 2005 at least, you can specify changes to environment variables in the project settings.

    Open your project. Go to Project -> Properties… Under Configuration Properties -> Debugging, edit the ‘Environment’ value to set environment variables.

    For example, if you want to add the directory ‘c:\foo\bin’ to the path when debugging your application, set the ‘Environment’ value to ‘PATH=%PATH%;c:\foo\bin’.

    Here's a screenshot of the settings dialog

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

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer The most appropriate way to do this is for the… May 11, 2026 at 10:42 am
  • added an answer Where i work we have just started to evaluate some… May 11, 2026 at 10:42 am
  • added an answer cocosTouchPoint = [[Director sharedDirector] convertToGL:touchPoint]; May 11, 2026 at 10:42 am

Related Questions

On a class library project, I set the Start Action on the Debug tab
I have a Windows Service project, A, with a dependency on a class library
The current class library I am working on will have a base class (Field)
I have a C# (2008/.NET 3.5) class library assembly that supports WPF (based on
I tried to use this on my class library mylib.core.data.dll and got a successful
In the library, right-click on a movieclip that you have written an ActionScript class
When defining a method on a class in Python, it looks something like this:
You have a method on a class that has 2 parameters, one of which
I'm currently working on a class that calculates the difference between two objects. I'm
When you double click on a class (in 'solution explorer')... if that class happens

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.