Trouble using ConfigurationManager in C#

Hassan Usman 0 Reputation points

I am having difficulty using ConfigurationManager in my C# code. I have tried various solutions but have not been successful. I am also unable to add a reference. Can someone provide guidance on how to use ConfigurationManager properly?Screenshot 2023-09-11 at 12.04.58 AM

Microsoft Technologies based on the .NET software framework.
2,080 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,043 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Hassan Usman 0 Reputation points

    I've found the solution just hardcode the path of within the project put your text file in bin folder of the project and change it's extension to .vs and hardcode like this'./Emptytextfile.vs'

    0 comments No comments