Skip to content

Create guidance: how to develop and run a C# build task with source in the local repo #97

@dagood

Description

@dagood

From #96 (comment):

[@tmat] ... The root problem here seems to be the inability to build and use a task "dynamically". But we do have a similar ability - the build can run a C# script. We even ship csi task that runs a specified C# script . There are some issues there that need to be fixed to make it smooth, but that can be done.

Currently C# scripts do not support NuGet references (it's in the backlog, so maybe someday. However, that should be easy to work around. You can add those package references to the containing project and then access the binaries directly from the NuGet cache.

This repo should have a document about how we expect people to do this.

A side benefit is that we can have a consistent structure so moving the task to Arcade is painless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions