Can't find .Net 2.0 XML Schema
- by Zach Smith
I'm currently setting up an application config for a WPF application written in .Net 4.0. The connection string in the app.config is encrypted like so:
<connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
<EncryptedData>
<CipherData>
<CipherValue>CypherValue</CipherValue>
</CipherData>
</EncryptedData>
</connectionStrings>
To use the EncryptedData element I need to include the XMLNS "http://schemas.microsoft.com/.NetConfiguration/v2.0". Attempting to include it produces an error as the schema cannot be found. Is there a way to include the schema or perhaps a different element I could use instead of EncryptedData?