File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <TargetFrameworks >netstandard2.0;net4.5.2</TargetFrameworks >
2020 <AssemblyVersion >23.6</AssemblyVersion >
2121 <FileVersion >23.6</FileVersion >
2222 <Version >23.6</Version >
23+ <PackageReadmeFile >README.md</PackageReadmeFile >
2324 </PropertyGroup >
2425
2526 <ItemGroup >
2627 <PackageReference Include =" Newtonsoft.Json" Version =" 11.0.2" />
2728 <PackageReference Include =" RestSharp" Version =" 106.2.2" />
2829 </ItemGroup >
29-
30+ <ItemGroup >
31+ <None Include =" ..\README.md" Pack =" true" PackagePath =" \" />
32+ </ItemGroup >
3033</Project >
Original file line number Diff line number Diff line change 1- dotnet build - c Release
1+ dotnet build - c Release Aspose.Cells.Cloud.SDK\Aspose.Cells.Cloud.SDK.csproj
22$RootFoler = (Get-Location ).Path
33$File = " $RootFoler \Aspose.Cells.Cloud.SDK\bin\Release\netstandard2.0\Aspose.Cells.Cloud.SDK.dll"
44$FileVersion = [System.Diagnostics.FileVersionInfo ]::GetVersionInfo($File ).FileVersion.split(" ." )
@@ -11,7 +11,7 @@ if( $FileVersion.Length -eq 2 ){
1111$PackFile = " Aspose.Cells-Cloud.$version .nupkg"
1212
1313Write-Output " Pack Aspose.Cells Cloud SDK $version For Net."
14- dotnet pack -- output .\
14+ dotnet pack - c Release - - output .\
1515dotnet nuget sign -- hash- algorithm sha256 -- certificate- path aspose.pfx -- certificate- password f27Hp99Ds3 -- timestamper http:// timestamp.digicert.com $PackFile
1616dotnet nuget verify $PackFile
1717Write-Output " Move-Item -Path $PackFile -Destination packages/$PackFile "
You can’t perform that action at this time.
0 commit comments