Can't find .Net 2.0 XML Schema
Posted
by
Zach Smith
on Stack Overflow
See other posts from Stack Overflow
or by Zach Smith
Published on 2013-06-28T15:52:51Z
Indexed on
2013/06/28
16:21 UTC
Read the original article
Hit count: 319
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?
© Stack Overflow or respective owner