Microsoft 开发人员网络 > 论坛主页 > 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#)

  • 2009年6月30日 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

答案

全部回复