Skip to content

Commit b45b31e

Browse files
Add NuGet README file (#5900)
Co-authored-by: Michael Sharp <[email protected]>
1 parent 7b9fe38 commit b45b31e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Microsoft.ML/Microsoft.ML.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<!-- <IncludeBuildOutput>false</IncludeBuildOutput> -->
1010
<NoWarn>$(NoWarn);NU5127;NU5128</NoWarn>
1111
<PackageDescription>ML.NET is a cross-platform open-source machine learning framework which makes machine learning accessible to .NET developers.</PackageDescription>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
1213
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
1314
</PropertyGroup>
1415
<ItemGroup>
@@ -49,6 +50,7 @@
4950
<ItemGroup>
5051
<Content Include="$(RepoRoot)eng\pkg\CommonPackage.props" Pack="true" PackagePath="build\netstandard2.0\$(MSBuildProjectName).props" />
5152
<Content Include="build\**\*" Pack="true" PackagePath="build" />
53+
<None Include="README.md" Pack="true" PackagePath="\"/> <!--NuGet PackageReadmeFile-->
5254
</ItemGroup>
5355
<PropertyGroup>
5456
<!--Include Project References output-->
@@ -66,4 +68,4 @@
6668
<BuildOutputInPackage Condition="Exists('$(PackageAssetsPath)$(PackageIdFolderName)\runtimes\win-x64\native\LdaNative.pdb')" Include="$(PackageAssetsPath)$(PackageIdFolderName)\runtimes\win-x64\native\LdaNative.pdb" TargetPath="..\..\runtimes\win-x64\native"/>
6769
</ItemGroup>
6870
</Target>
69-
</Project>
71+
</Project>

src/Microsoft.ML/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ML.NET is a cross-platform open-source machine learning framework which makes machine learning accessible to .NET developers.
2+
3+
For more information, see the [ML.NET documentation](https://docs.microsoft.com/dotnet/machine-learning/).

0 commit comments

Comments
 (0)