J Trahair
Well-known member
Hi. I have to use the function Uri.EscapeUriString to prepare a url, and I have to use
so that the url doesn't contain stray forward slashes and backslashes. I've placed the above code in app.config but there are messages saying
Could not find schema information for the element 'uri'
Could not find schema information for the element 'schemeSettings'
Could not find schema information for the element 'add'
Could not find schema information for the element 'name'
Could not find schema information for the element 'genericUriParserOptions'
(even though add name is two words).
How do I find and configure these items of schema information?
Thank you.
VB.NET:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<uri>
<schemeSettings>
<add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes" />
</schemeSettings>
</uri>
</configuration>
so that the url doesn't contain stray forward slashes and backslashes. I've placed the above code in app.config but there are messages saying
Could not find schema information for the element 'uri'
Could not find schema information for the element 'schemeSettings'
Could not find schema information for the element 'add'
Could not find schema information for the element 'name'
Could not find schema information for the element 'genericUriParserOptions'
(even though add name is two words).
How do I find and configure these items of schema information?
Thank you.