There are times when you have been working on your new exciting project and it looks so good that you just want to release it as soon as possible so the world can be blessed with your new NuGet package but wait your new library is a complex library and require special setup instructions after it has been installed.
Well, we can solve that problem by adding a readme file with all the setup instructions, to do that add the following XML snippet to your csproj file, then you can just add a ReadMe.txt to your project. Now when the end-user install your NuGet package the read me file will automatically open
<ItemGroup> <None Include="ReadMe.txt" pack="true" PackagePath="." /> </ItemGroup>
Neat one, didn’t know that 🙂 Thanks for sharing!