Skip to content

Commit f1ab527

Browse files
authored
Merge pull request #108 from aspose-pdf-cloud/develop
update to 25.3
2 parents 7a300eb + 8ec313b commit f1ab527

File tree

299 files changed

+62129
-62130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+62129
-62130
lines changed

.devcontainer/devcontainer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "C# (.NET)",
3+
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0-bookworm",
4+
"workspaceFolder": "/SDKs/NET",
5+
"workspaceMount": "source=${localWorkspaceFolder},target=/SDKs/NET,type=bind,consistency=cached",
6+
"customizations": {
7+
"vscode": {
8+
"settings": {
9+
"dotnet.defaultSolution": "Aspose.Pdf.Cloud.Sdk.Core.sln"
10+
},
11+
"extensions": [
12+
"ms-dotnettools.csdevkit"
13+
]
14+
}
15+
},
16+
"mounts": [
17+
"source=${localWorkspaceFolder}/../../Settings,target=/Settings,type=bind,consistency=cached"
18+
]
19+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929
## Read PDF Formats
3030
MHT, PCL, PS, XSLFO, MD
3131

32-
## Enhancements in Version 25.2
32+
## Enhancements in Version 25.3
3333
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
34+
3435
## Unit Tests
3536
Aspose PDF SDK includes a suite of unit tests. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.
3637

src/Aspose.Pdf.Cloud.Sdk.Test/Aspose.Pdf.Cloud.Sdk.Test.Core.csproj

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<AssemblyName>Aspose.Pdf.Cloud.Sdk.Test</AssemblyName>
77
<RootNamespace>Aspose.Pdf.Cloud.Sdk.Test</RootNamespace>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
@@ -12,21 +12,12 @@
1212
<Configurations>Debug;Release</Configurations>
1313
</PropertyGroup>
1414

15-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
16-
<OutputPath>..\..\build-out\bin\debug\</OutputPath>
17-
</PropertyGroup>
18-
19-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
20-
<OutputPath>..\..\build-out\bin\release\</OutputPath>
21-
</PropertyGroup>
22-
2315
<ItemGroup>
2416
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
2517
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="15.7.0" />
2618
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
27-
<PackageReference Include="NUnit" Version="3.10.1" />
28-
<PackageReference Include="NUnit.ConsoleRunner" Version="3.8.0" />
29-
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
19+
<PackageReference Include="NUnit" Version="3.13.0" />
20+
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
3021
</ItemGroup>
3122

3223
<ItemGroup>
@@ -83,9 +74,5 @@
8374
<Compile Include="XmpMetadataTests.cs" />
8475
<Compile Include="StorageTests.cs" />
8576
</ItemGroup>
86-
87-
<ItemGroup>
88-
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
89-
</ItemGroup>
90-
77+
9178
</Project>

src/Aspose.Pdf.Cloud.Sdk.Test/ImagesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public void GetImageExtractAsPngTest()
283283
[Test]
284284
public void GetImageExtractAsSvgTest()
285285
{
286-
const string FileName = "Alfa.pdf";
286+
const string FileName = "alfa.pdf";
287287

288288
UploadFile(FileName, FileName);
289289

src/Aspose.Pdf.Cloud.Sdk.Test/TestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ namespace Aspose.Pdf.Cloud.Sdk.Test {
3535
public abstract class TestsBase {
3636

3737
private const string BaseProductUri = @"https://api.aspose.cloud";
38-
protected const string TestDataFolder = @"..\..\..\..\testData";
39-
private const string ServerCredsFile = @"Settings\servercreds.json";
38+
protected const string TestDataFolder = @"../../../../../testData";
39+
private const string ServerCredsFile = @"Settings/servercreds.json";
4040
protected const string TempFolder = "TempPdfCloud";
4141

4242
private class Creds {

src/Aspose.Pdf.Cloud.Sdk/Aspose.Pdf.Cloud.Sdk.Core.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,9 @@
1010
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
1111
<GenerateAssemblyKeyFile>false</GenerateAssemblyKeyFile>
1212
<Configurations>Debug;Release</Configurations>
13-
<PackageTags>QWERTY asdfgh</PackageTags>
1413
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1514
</PropertyGroup>
1615

17-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
18-
<OutputPath>..\..\build-out\bin\debug\</OutputPath>
19-
</PropertyGroup>
20-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
21-
<OutputPath>..\..\build-out\bin\release\</OutputPath>
22-
</PropertyGroup>
23-
2416
<ItemGroup>
2517
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" />
2618
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />

src/Aspose.Pdf.Cloud.Sdk/Client/ApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ private RestRequest PrepareRequest(
241241

242242
// add custom header
243243
request.AddHeader(AsposeClientHeaderName, ".net sdk");
244-
request.AddHeader(AsposeClientVersionHeaderName, "25.2.0");
244+
request.AddHeader(AsposeClientVersionHeaderName, "25.3.0");
245245

246246
// add header parameter, if any
247247
foreach(var param in headerParams)

src/Aspose.Pdf.Cloud.Sdk/Client/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public static string ToDebugReport()
225225
.GetReferencedAssemblies()
226226
.Where(x => x.Name == "System.Core").First().Version.ToString() + "\n";
227227
report += " Version of the API: 3.0\n";
228-
report += " SDK Package Version: 25.2.0\n";
228+
report += " SDK Package Version: 25.3.0\n";
229229

230230
return report;
231231
}

0 commit comments

Comments
 (0)