Skip to content

Example for CustomBeforeSlnGenTargets #448

@michael-hawker

Description

@michael-hawker

Think this allows us to run msbuild logic before a solution is generated? This should be useful for us as we want to generate some projects from common code for our project. (e.g. we have a runner that is basically the same to execute the code within the repo, we don't want to duplicate it in each folder for each project)

However, the docs just call this property/target out without a clear example of how this system should work. Is it a target to write a custom target section or is this supposed to just be a path to a props file or something???

Like I'd like to have actual logic to run like a file copy, which means I'd need it to be a target or something to do something before the rest of the slngen command runs, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions