Try to use .NET 6.0 RC2 SDK and embed README.md in nuget package

This commit is contained in:
Wizou 2021-11-04 02:41:04 +01:00
parent 248b7d7f5a
commit ec6fb6c0c0
2 changed files with 9 additions and 1 deletions

7
.github/dev.yml vendored
View file

@ -11,6 +11,13 @@ variables:
buildConfiguration: 'Release'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: 'sdk'
version: '6.0.x'
includePreviewVersions: true
- task: DotNetCoreCLI@2
inputs:
command: 'pack'

View file

@ -21,7 +21,7 @@
<PackageProjectUrl>https://github.com/wiz0u/WTelegramClient</PackageProjectUrl>
<RepositoryUrl>https://github.com/wiz0u/WTelegramClient.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!--<PackageReadmeFile>README.md</PackageReadmeFile> see https://github.com/NuGet/Home/issues/10791 -->
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup>
@ -35,6 +35,7 @@
<ItemGroup>
<None Include="..\.github\dev.yml" Link="Data\dev.yml" />
<None Include="..\EXAMPLES.md" Link="Data\EXAMPLES.md" />
<None Include="..\logo.png" Link="Data\logo.png" Pack="true" PackagePath="\" />
<None Include="..\README.md" Link="Data\README.md" Pack="true" PackagePath="\" />
<None Include="..\.github\release.yml" Link="Data\release.yml" />