How to rename README.md and LICENSE on build
<Project> <!-- usual stuff up here --> <ItemGroup> <Content Include="README.md"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <TargetPath>$(AssemblyName).README.md</TargetPath> <Pack>true</Pack> <PackagePath>\</PackagePath> </Content> <Content Include="LICENSE"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <TargetPath>$(AssemblyName).LICENSE.txt</TargetPath> <Pack>true</Pack> <PackagePath>\</PackagePath> </Content> </ItemGroup> </Project>
Comments
0 B
|👍
/👎