Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Need to open a readme.md file while nuget installation

$
0
0

Need to open the readme file while nuget is getting installated.Able to add the readme file which is added to the project through the dotnet pack. while unpacking the nugpkg file able to view the readme.md file. but readme.md file is getting opened when the nuget is installed. Tried the same with readme.txt which worked perfectly and opened to readme.txt when nuget was installed.

'<PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <PackageReadmeFile>readme.md</PackageReadmeFile>
    <IsPackable>true</IsPackable>
  </PropertyGroup>
  <ItemGroup>
    <None Include="readme.md" pack="true" PackagePath="." />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
  </ItemGroup>'

the corresponding .csproj is packed and pushed to custom nuget gallery which is used by another project ,when installting the nuget need to open the readme.md file


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>