Skip to content

AddFilesToInstall copies files from wrong TP folder #81

@msteghofer

Description

@msteghofer

When giving relative paths to project.AddFilesToInstall(..) then it checks ALL thirdparty source folders for files that match the pattern. If the given files exist in both thirdparty folders then it copies first the files from one folder and then the ones from the other folder - and overwrites the first one. So which files end up in your build folder depends on the order of your thirdparty folders.

This shouldn't be the case, it would be better to decide this based on the location of the CSnake file that calls project.AddFilesToInstall(..), using project.GetBuildFolder() as a reference.

The current behaviour is implemented in csnInstall.Manager.ResolvePathsOfFilesToInstall().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions