Let's say I have this structure of projects:
- AppRunner
| - Apprunner.csproj
| - wwwroot
- Tests
| - Tests.csproj
| - bin
| - debug
| - netcoreapp2.1
| - I want copy wwwroot here
I'd want to tell compiler to copy wwwroot with all items and folders inside to output folder of tests
but I'd want it to work fine not only on Windows but also on Linux
I addedd to Tests.csproj this:
<ItemGroup>
<None Update="..\AppRunner\wwwroot\*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
but it doesn't really work