ModBuildConfig 4.3.0: ContentPacks IgnoreModFilePatterns attribute not working as expected
b-b-blueberry opened this issue ยท 1 comments
Expected:
Using ItemGroup
ContentPacks
, including a CP project in the same solution would copy both C# and CP components to a parent folder when the C# project is built, ignoring paths and patterns given in the IgnoreModFilePatterns
and IgnoreModFilePaths
attributes on ContentPacks
.
Issue:
Solution projects included in ContentPacks
will deploy all files and folders to the output folder, regardless of attributes given in the main project ContentPacks
or the CP project PropertyGroup
.
Reproduce:
- Create solution including multiple projects buildable with ModBuildConfig,
- Add
ItemGroup
ContentPacks
to the main project, including any other projects, - Build main project, bundling all files from included projects.
Attachments:
Minimum repro solution with basic C# and CP projects
Solution.zip
Other info:
Possible cause?
SMAPI/src/SMAPI.ModBuildConfig/DeployModTask.cs
Lines 125 to 127 in 66d9e82
SMAPI/src/SMAPI.ModBuildConfig/DeployModTask.cs
Lines 151 to 153 in 66d9e82
Fixed via 5030379 in mod build package 4.3.2. Thanks for reporting it!