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" >
2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >netstandard2.0;net4.5.2</TargetFrameworks >
20
20
<AssemblyVersion >23.6</AssemblyVersion >
21
21
<FileVersion >23.6</FileVersion >
22
22
<Version >23.6</Version >
23
+ <PackageReadmeFile >README.md</PackageReadmeFile >
23
24
</PropertyGroup >
24
25
25
26
<ItemGroup >
26
27
<PackageReference Include =" Newtonsoft.Json" Version =" 11.0.2" />
27
28
<PackageReference Include =" RestSharp" Version =" 106.2.2" />
28
29
</ItemGroup >
29
-
30
+ <ItemGroup >
31
+ <None Include =" ..\README.md" Pack =" true" PackagePath =" \" />
32
+ </ItemGroup >
30
33
</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
2
2
$RootFoler = (Get-Location ).Path
3
3
$File = " $RootFoler \Aspose.Cells.Cloud.SDK\bin\Release\netstandard2.0\Aspose.Cells.Cloud.SDK.dll"
4
4
$FileVersion = [System.Diagnostics.FileVersionInfo ]::GetVersionInfo($File ).FileVersion.split(" ." )
@@ -11,7 +11,7 @@ if( $FileVersion.Length -eq 2 ){
11
11
$PackFile = " Aspose.Cells-Cloud.$version .nupkg"
12
12
13
13
Write-Output " Pack Aspose.Cells Cloud SDK $version For Net."
14
- dotnet pack -- output .\
14
+ dotnet pack - c Release - - output .\
15
15
dotnet nuget sign -- hash- algorithm sha256 -- certificate- path aspose.pfx -- certificate- password f27Hp99Ds3 -- timestamper http:// timestamp.digicert.com $PackFile
16
16
dotnet nuget verify $PackFile
17
17
Write-Output " Move-Item -Path $PackFile -Destination packages/$PackFile "
You can’t perform that action at this time.
0 commit comments