-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help: how to change an "add" and how to delete #20
Comments
Maybe a bit late to the party here but you can address individual nodes by using the key or another attribute on the node. Use the following syntax:
To delete you could always |
@lboening Could you please explain a bit detailed this case:
It would be useful to have piece of you config file as well as your transformations. |
Also, as @markjose mentioned before, you can address specific key by |
Another part of you request is deleting nodes. Because of this, I mark it as new feature request and will try to take a look what I can do here. |
I've added syntax to remove nodes. {
"#configuration/appInfo/add[@key='SomeKey']/@value": ""
} Please note, that |
Latest fixes were released to Nuget and VS Marketplace. |
Hey @sergeyzwezdin how do I add the "clear" tag mentioned by you above? |
I have an app.config file. It has many "add" entries in the "appSettings" section.
Using your tool, it is easy to add a key with a particular value.
But how do I target a particular "add", such as the fourth one in the list?
Example:
<add key="MaxConcurrentAutoVueControls" value="3" />
If I add, I then have two keys, one with the proper setting. The fourth one on the list is still in the appSettings set with unchanged values.
Is it possible to delete a particular key with your tool?
I know how to do it using other techniques.
The text was updated successfully, but these errors were encountered: