MSDN > 論壇首頁 > Visual Studio Extensibility > App.config for VSPackage does not return any value for any key! ( VS SDK 2005 C#)
發問發問
 

已答覆App.config for VSPackage does not return any value for any key! ( VS SDK 2005 C#)

  • Tuesday, 30 June, 2009 8:15Nayna 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi,

    I am developing a VSPackage in VS 2005 using C# language.

    Is it possible to have a config file for a VSPackage?

    I have added a config file to my package and the appsettings["key"] always has no value, though there are few key value pairs defined in the app.config file.

    This VSPacakge is of the form class library. so is it possible to  have app.config file for VSPackage? If yes, can anyone help me with a code snippet of how to use it?

    Thanks,
    Nayana

解答

所有回覆