c# - how to exclude app.config from setup deployment project -


how exclude app.config setup deployment project?

i must maintain encrypted sections in app.config , (semi) embeded way know running code rsaprotectedconfigurationprovider or dpapi provider. since have run code question arises: when run it. since there seem problems using rsa under windows 7 (some end user's not have admin rights on it) concentrated on dpapi machine dependent. therefore can not encrypt app.config on developer machine. have on target machine. if application not find config files, creates one. , that's trying do: exclude app.config msi setup project, whe app run first time, settings created defaults , encryption code runs on it. hope clear enough.

in setup deployment project primary output folder enter in exclude property: app.config


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -