Skip to content

Commit 882d8a1

Browse files
committed
GroupDocs.Conversion for .NET 25.7 samples update
1 parent 949d99a commit 882d8a1

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

Examples/GroupDocs.Conversion.Examples.CSharp.Core/GroupDocs.Conversion.Examples.CSharp.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PackageReference Include="AWSSDK.Core" Version="3.7.402.28" />
1818
<PackageReference Include="AWSSDK.S3" Version="3.7.415.27" />
1919
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.0" />
20-
<PackageReference Include="GroupDocs.Conversion" Version="25.6" />
20+
<PackageReference Include="GroupDocs.Conversion" Version="25.7" />
2121
<PackageReference Include="StackExchange.Redis" Version="2.8.31" />
2222
</ItemGroup>
2323

Examples/GroupDocs.Conversion.Examples.CSharp.Framework/GroupDocs.Conversion.Examples.CSharp.Framework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<Version>12.24.0</Version>
7070
</PackageReference>
7171
<PackageReference Include="GroupDocs.Conversion.NETFramework">
72-
<Version>25.6.0</Version>
72+
<Version>25.7.0</Version>
7373
</PackageReference>
7474
<PackageReference Include="StackExchange.Redis">
7575
<Version>2.8.31</Version>

Examples/GroupDocs.Conversion.Examples.CSharp/QuickStart/HelloWorldFluent.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ public static void Run()
1313
string outputDirectory = Constants.GetOutputDirectoryPath();
1414
string convertedFile = Path.Combine(outputDirectory, "converted.pdf");
1515

16-
FluentConverter.Load(Constants.SAMPLE_DOCX).ConvertTo(convertedFile).Convert();
16+
FluentConverter
17+
.Load(Constants.SAMPLE_DOCX)
18+
.ConvertTo(convertedFile)
19+
.OnConversionFailed((context, exception) => throw exception)
20+
.Convert();
1721

1822
Console.WriteLine($"\nSource document converted successfully.\nCheck output in {outputDirectory}.");
1923
}

0 commit comments

Comments
 (0)