Skip to content

Commit 7ca7e7e

Browse files
committed
update CubePDF SDK 8.1.1.
1 parent b21cb9b commit 7ca7e7e

File tree

6 files changed

+21
-18
lines changed

6 files changed

+21
-18
lines changed

Examples/Collaboration/Receiver/Collaboration.Receiver.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>7.1.1</Version>
3+
<Version>8.1.1</Version>
44
<Authors>clown;cube-soft</Authors>
55
<Company>CubeSoft</Company>
66
<Product>CoReceiver</Product>
@@ -24,7 +24,8 @@
2424
<OutputPath>bin\Any CPU\$(Configuration)\</OutputPath>
2525
</PropertyGroup>
2626
<ItemGroup>
27-
<PackageReference Include="Cube.Pdf.Converter" Version="7.1.1" />
27+
<PackageReference Include="Cube.Pdf.Converter" Version="8.1.1" />
28+
<PackageReference Include="Cube.Logging.NLog" Version="8.0.0" />
2829
</ItemGroup>
2930
<ItemGroup>
3031
<None Include="App.*" />

Examples/Collaboration/Receiver/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ static void Main(string[] args)
8585
/* ----------------------------------------------------------------- */
8686
private static void InitLog(string[] args)
8787
{
88-
var src = typeof(Program);
89-
_ = Cube.Logger.ObserveTaskException();
90-
Cube.Logger.LogInfo(src, src.Assembly);
91-
Cube.Logger.LogInfo(src, $"[ {string.Join(" ", args)} ]");
88+
Cube.Logger.Configure(new Cube.Logging.NLog.LoggerSource());
89+
Cube.Logger.ObserveTaskException();
90+
Cube.Logger.Info(typeof(Program).Assembly);
91+
Cube.Logger.Info($"[ {string.Join(" ", args)} ]");
9292
}
9393
}
9494
}

Examples/Collaboration/Sender/Collaboration.Sender.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>7.1.1</Version>
3+
<Version>8.1.1</Version>
44
<Authors>clown;cube-soft</Authors>
55
<Company>CubeSoft</Company>
66
<Product>CoSender</Product>
@@ -25,7 +25,8 @@
2525
<OutputPath>bin\Any CPU\$(Configuration)\</OutputPath>
2626
</PropertyGroup>
2727
<ItemGroup>
28-
<PackageReference Include="Cube.Pdf.Converter" Version="7.1.1" />
28+
<PackageReference Include="Cube.Pdf.Converter" Version="8.1.1" />
29+
<PackageReference Include="Cube.Logging.NLog" Version="8.0.0" />
2930
</ItemGroup>
3031
<ItemGroup>
3132
<None Include="App.*" />

Examples/Collaboration/Sender/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ private static void PrintDummy(object s, PrintPageEventArgs e)
111111
/* ----------------------------------------------------------------- */
112112
private static void InitLog(string[] args)
113113
{
114-
var src = typeof(Program);
115-
_ = Cube.Logger.ObserveTaskException();
116-
Cube.Logger.LogInfo(src, src.Assembly);
117-
Cube.Logger.LogInfo(src, $"[ {string.Join(" ", args)} ]");
114+
Cube.Logger.Configure(new Cube.Logging.NLog.LoggerSource());
115+
Cube.Logger.ObserveTaskException();
116+
Cube.Logger.Info(typeof(Program).Assembly);
117+
Cube.Logger.Info($"[ {string.Join(" ", args)} ]");
118118
}
119119
}
120120
}

Examples/CubePdfLite/CubePdfLite.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>7.1.1</Version>
3+
<Version>8.1.1</Version>
44
<Authors>clown;cube-soft</Authors>
55
<Company>CubeSoft</Company>
66
<Product>CubePDF Lite</Product>
@@ -24,7 +24,8 @@
2424
<OutputPath>bin\Any CPU\$(Configuration)\</OutputPath>
2525
</PropertyGroup>
2626
<ItemGroup>
27-
<PackageReference Include="Cube.Pdf.Converter" Version="7.1.1" />
27+
<PackageReference Include="Cube.Pdf.Converter" Version="8.1.1" />
28+
<PackageReference Include="Cube.Logging.NLog" Version="8.0.0" />
2829
</ItemGroup>
2930
<ItemGroup>
3031
<None Include="App.*" />

Examples/CubePdfLite/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ static void Main(string[] args)
9393
/* ----------------------------------------------------------------- */
9494
private static void InitLog(string[] args)
9595
{
96-
var src = typeof(Program);
97-
_ = Cube.Logger.ObserveTaskException();
98-
Cube.Logger.LogInfo(src, src.Assembly);
99-
Cube.Logger.LogInfo(src, $"[ {string.Join(" ", args)} ]");
96+
Cube.Logger.Configure(new Cube.Logging.NLog.LoggerSource());
97+
Cube.Logger.ObserveTaskException();
98+
Cube.Logger.Info(typeof(Program).Assembly);
99+
Cube.Logger.Info($"[ {string.Join(" ", args)} ]");
100100
}
101101
}
102102
}

0 commit comments

Comments
 (0)