C
C#2y ago
dstr

Copy folder in .csproj

<ItemGroup>
<Content Include="assets\**" CopyToOutputDirectory="Always" />
</ItemGroup>
<ItemGroup>
<Content Include="assets\**" CopyToOutputDirectory="Always" />
</ItemGroup>
This results in all the items in the asset folder ending up in <output dir>/assets/ whereas I would like them to be copied to <output dir>/.
2 Replies
reflectronic
reflectronic2y ago
add Link="%(Filename)%(Extension)" to the Content
dstr
dstrOP2y ago
thanks!
Want results from more Discord servers?
Add your server