App.config for VSPackage does not return any value for any key! ( VS SDK 2005 C#)Hi,<br/><br/>I am developing a VSPackage in VS 2005 using C# language.<br/><br/>Is it possible to have a config file for a VSPackage?<br/><br/>I have added a config file to my package and the appsettings[&quot;key&quot;] always has no value, though there are few key value pairs defined in the app.config file.<br/><br/>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?<br/><br/>Thanks,<br/>Nayana© 2009 Microsoft Corporation. All rights reserved.Tue, 07 Jul 2009 03:07:18 Z2cb0bff0-7026-4071-b923-f98362c1499fhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/2cb0bff0-7026-4071-b923-f98362c1499f#2cb0bff0-7026-4071-b923-f98362c1499fhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/2cb0bff0-7026-4071-b923-f98362c1499f#2cb0bff0-7026-4071-b923-f98362c1499fNaynahttp://social.msdn.microsoft.com/Profile/en-US/?user=NaynaApp.config for VSPackage does not return any value for any key! ( VS SDK 2005 C#)Hi,<br/><br/>I am developing a VSPackage in VS 2005 using C# language.<br/><br/>Is it possible to have a config file for a VSPackage?<br/><br/>I have added a config file to my package and the appsettings[&quot;key&quot;] always has no value, though there are few key value pairs defined in the app.config file.<br/><br/>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?<br/><br/>Thanks,<br/>NayanaTue, 30 Jun 2009 08:15:55 Z2009-06-30T08:15:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/2cb0bff0-7026-4071-b923-f98362c1499f#f20344e2-e5a9-44de-96a0-50ad8a8e3310http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/2cb0bff0-7026-4071-b923-f98362c1499f#f20344e2-e5a9-44de-96a0-50ad8a8e3310Nancy Shaohttp://social.msdn.microsoft.com/Profile/en-US/?user=Nancy%20ShaoApp.config for VSPackage does not return any value for any key! ( VS SDK 2005 C#)<p>Hi Nayana,<br/><br/>As far as I know, Config file is not used to save configuration information in VSPackage. It usually locate state information in System Registry or application data folder for the current user which the <span><a href="http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.shell.package.aspx">Package</a></span> class provides support for. <br/><br/>For more information, please see the following article:</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/bb166490.aspx">Support for State Persistence (C#)</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/bb165693.aspx">VSPackage State</a></li> </ul> <p>If I misunderstood you, or you have any questions, please let me know.<br/><br/>Best Regards,<br/>Nancy<br/></p><hr class="sig">Please remember to mark the replies as answers if they help and unmark them if they provide no help. <br/> <a href="http://cfx.codeplex.com/">Welcome to the All-In-One Code Framework!</a> If you have any feedback, please tell us.Thu, 02 Jul 2009 06:56:09 Z2009-07-02T06:56:09Z