Find the full path by folder name for a folder in another project

advertisements

In my web project solution I have numerous projects added in it.

I have folder names as 'Localization' in one of the project.

So by specifying folder name in code behind from another project, how do I get the full path of the folder.

If folder is present in one of the project then I need to get the full path.


You can use this example, for get the full path of another folder.

System.IO.Path.GetFullPath(System.IO.Path.Combine(Server.MapPath("~"), "../Localization/"));