Skip to content

Extend XmlTasks with a new extension for adding nodes #488

Description

@ITaluone

Description

In my day work I came across the issue to add some intermediate nuget feed (usually the local Artifacts directory) for e.g. smoke tests.

Now, I have to do this myself. Would be convenient, if Fallout would have this built in.

Usage Example

XmlTasks.XmlAdd(RootDirectory / "nuget.config", "/configuration/packageSources", new XmlElementBuilder("add")
            .SetAttribute("key", "local")
            .SetAttribute("value", "/tmp/local/inplace/nuget/feed")
            .SetAttribute("allowInsecureConnections", "true"));

Or similar

Alternative

Doing this on my own

Could you help with a pull-request?

Yes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions