I have an application in which HttpRuntime.AppDomainAppPath returns the correct path with the wrong casing.
I am then trying to use this in a String.Replace and it does not find the path in the filename due to casing.
I am aware that I can use Regex.Replace but would prefer not to.
I have this problem only on the production machine even though the folder in question has the same casing in dev.
I have just noticed that Server.MapPath also returns the wrong casing.
Any ideas?