Every Time when click on any called method from inside another method it is directly going to from metadata
how to solve permanantly pls help me
and one more thing
when added a new method in DAL file and BAL file i am getting reference not found error
Every time when i added a new method in DAL getting reference error..
pls help me to solve thanks in Advance.


Amit MohantyPosted May 24, 2023, 10:43 AM
When you right-click on ConfigurationManager.AppSettings and select "Go to Definition" it goes to "[from metadata]," it means that the definition for ConfigurationManager.AppSettings is not available in your project's source code.
The ConfigurationManager class is part of the .NET Framework's System.Configuration namespace and provides access to configuration files for applications. The AppSettings property is a static property that allows you to access the key-value pairs defined in the application's configuration file.
The reason you see "[from metadata]" instead of the actual source code definition is because the ConfigurationManager class is part of the .NET Framework and its source code is not included in your project by default. Instead, the IDE retrieves the metadata information for the ConfigurationManager class from the framework's metadata files.
The metadata contains information about types, members, and their signatures, but it doesn't include the actual implementation details or the source code. Therefore, when you try to navigate to the definition of ConfigurationManager.AppSettings, it takes you to the metadata information.
Jaya PrakashPosted May 24, 2023, 7:45 AM
when i click on go to definition it is directly going to [from metadata] how can i solve it.
and when i add new method in DAL i always getting DLL not found suggest me a permanant soln for it.
Amit MohantyPosted May 24, 2023, 7:38 AM
Try this: ConfigurationManager.AppSettings.Get("baseURL")
Reference not found error: When you add a new method in the DAL (Data Access Layer) or BAL (Business Access Layer) files and encounter a reference not found error, it typically means that the method or its corresponding class is not properly referenced or imported.