Skip to content

Commit 218e685

Browse files
committed
Clean up
1 parent 9f33fee commit 218e685

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

PdfSharpCore.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1818
EndProject
1919
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharpCore.Test", "PdfSharpCore.Test\PdfSharpCore.Test.csproj", "{A862C0CE-C095-459C-A32B-8FCDD15A93BF}"
2020
EndProject
21-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{E2F17280-6C54-4711-AF1C-3286D2C45526}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleApp", "SampleApp\SampleApp.csproj", "{E2F17280-6C54-4711-AF1C-3286D2C45526}"
2222
EndProject
2323
Global
2424
GlobalSection(SolutionConfigurationPlatforms) = preSolution

ConsoleApp1/Program.cs renamed to SampleApp/Program.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// See https://aka.ms/new-console-template for more information
2-
using PdfSharpCore.Drawing;
1+
using PdfSharpCore.Drawing;
32
using PdfSharpCore.Pdf;
43

54
string GetOutFilePath(string name)
@@ -20,7 +19,7 @@ void SaveDocument(PdfDocument document, string name)
2019
document.Save(outFilePath);
2120
}
2221

23-
Console.WriteLine("Hello, World!");
22+
Console.WriteLine("Starting...");
2423

2524
const string outName = "test1.pdf";
2625

@@ -32,4 +31,6 @@ void SaveDocument(PdfDocument document, string name)
3231

3332
renderer.DrawString("Testy Test Test", new XFont("Arial", 12), XBrushes.Black, new XPoint(12, 12));
3433

35-
SaveDocument(document, outName);
34+
SaveDocument(document, outName);
35+
36+
Console.WriteLine("Done!");
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Release\net6.0\publish\win-x64\</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net6.0</TargetFramework>
13+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
14+
<SelfContained>true</SelfContained>
15+
<PublishSingleFile>false</PublishSingleFile>
16+
<PublishReadyToRun>true</PublishReadyToRun>
17+
<PublishTrimmed>true</PublishTrimmed>
18+
</PropertyGroup>
19+
</Project>
File renamed without changes.

0 commit comments

Comments
 (0)