none
System.Configuration + Environment variable RRS feed

  • Question

  • We are trying to load the third party dll during run time. So we planned to use the System.Configuration. We like to know whether is it possible to use Environment variable in System.Configuration file. If so please share the example also.

    Monday, February 11, 2013 12:20 PM

Answers

  • You cannot use environment variable with System.Configuration namespace. Instead use Environment.GetEnvironmentVariables(); to read environment variables

    Regards, Vinod Shalgar Please remember to mark the replies as answers if they help you.

    Monday, February 11, 2013 12:42 PM

All replies

  • You cannot use environment variable with System.Configuration namespace. Instead use Environment.GetEnvironmentVariables(); to read environment variables

    Regards, Vinod Shalgar Please remember to mark the replies as answers if they help you.

    Monday, February 11, 2013 12:42 PM
  • Hi Sangameshwaran S,

    Thanks for your post.

    This forum supports .NET Setup issues.

    Please share your project type and programming language so I can redirect you.

    Regards, 


    Barry Wang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, February 12, 2013 5:41 AM
    Moderator