To get the path of the active app.config file in C# and VB.NET you can use the following snippet
Sample C#
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
Sample VB.NET
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
All the Code Snippets and Samples you need
To get the path of the active app.config file in C# and VB.NET you can use the following snippet
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile;
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to get the path of the active app.config file in C# and #VB .NET http://t.co/n0WSlAlrRV #csharp #dotnet #visualbas…
RT @CodeSnippetsNET: How to get the path of the active app.config file in C# and #VB .NET http://t.co/n0WSlAlrRV #csharp #dotnet #visualbas…
RT @CodeSnippetsNET: How to get the path of the active app.config file in C# and #VB .NET http://t.co/n0WSlAlrRV #csharp #dotnet #visualbas…