Closed odalet closed 2 years ago
This is fine. But may remove this function from project file in future.
Alternatively, you could have the file copied over to the bin folder without the need for a post-build event with something like this in the csproj:
<ItemGroup>
<None Include="..\LICENSE" Link="LICENSE">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Cheers. I added the copy license as a last minute thing. The above looks like a good suggestion. Thanks.
This should fix the post-build not working when building on Windows. And sorry, it seems I've messed up the formatting... Tabs vs spaces?