Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PDFsharp-Team committed Dec 10, 2024
1 parent 5fbf6ed commit 3af34ac
Show file tree
Hide file tree
Showing 460 changed files with 7,230 additions and 2,575 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ InternalAgentState.json
*.log
*tempfile.*
launchsettings.json
testEnvironments.json
72 changes: 41 additions & 31 deletions PdfSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{18E75E2F-2
src\foundation\src\PDFsharp\docs\GlobalStuff.md = src\foundation\src\PDFsharp\docs\GlobalStuff.md
src\foundation\src\PDFsharp\docs\Notebook.md = src\foundation\src\PDFsharp\docs\Notebook.md
src\foundation\src\PDFsharp\docs\PortingNotes.md = src\foundation\src\PDFsharp\docs\PortingNotes.md
src\foundation\src\PDFsharp\docs\README.md = src\foundation\src\PDFsharp\docs\README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{5BB9AA90-46A6-4C3A-BF50-BD122331517B}"
Expand All @@ -61,7 +62,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{D564E33D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{9EB8E8CC-3BA3-4B0F-B853-5B2443C40015}"
ProjectSection(SolutionItems) = preProject
AboutLineSpacing.md = AboutLineSpacing.md
src\foundation\src\MigraDoc\docs\README.md = src\foundation\src\MigraDoc\docs\README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MigraDoc.Tests", "src\foundation\src\MigraDoc\tests\MigraDoc.Tests\MigraDoc.Tests.csproj", "{CA022FCC-7A23-4759-8789-9FC86C805557}"
Expand All @@ -73,8 +74,14 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MigraDoc", "MigraDoc", "{D25A7758-C8D7-473D-B032-D798FECCF08B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{62D00D8A-4171-4103-A5A4-A49212E0F7B3}"
ProjectSection(SolutionItems) = preProject
src\samples\src\PDFsharp\src\README.md = src\samples\src\PDFsharp\src\README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{1E84E8EF-D2F3-40A5-BF1B-10DE99894DC3}"
ProjectSection(SolutionItems) = preProject
src\samples\src\MigraDoc\src\README.md = src\samples\src\MigraDoc\src\README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloWorld,PDFsharp", "src\samples\src\PDFsharp\src\HelloWorld\HelloWorld,PDFsharp.csproj", "{92E59C39-1633-4763-B9A3-3E6FA2593477}"
EndProject
Expand Down Expand Up @@ -194,13 +201,6 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PDFsharp.NuGet-wpf", "src\foundation\nuget\src\PDFsharp.NuGet-wpf\PDFsharp.NuGet-wpf.csproj", "{4EEE7867-461B-49EC-9450-3973B932A5C8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{76BA9372-65AE-479C-AEF7-D50E6B486CEF}"
ProjectSection(SolutionItems) = preProject
docs\BeforeReleases.md = docs\BeforeReleases.md
docs\BoilerplateText.md = docs\BoilerplateText.md
docs\DevNotes.md = docs\DevNotes.md
docs\MakeNewReleaseNotes.md = docs\MakeNewReleaseNotes.md
docs\xUnitRunnerSettings.md = docs\xUnitRunnerSettings.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{A1AE894D-9061-44F0-8268-328AC41F403A}"
EndProject
Expand Down Expand Up @@ -259,26 +259,19 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.Testing-wpf", "src
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "psf", "psf", "{D2B0EC1F-CF81-4756-B20C-9BB786A151E0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.Cryptography", "src\foundation\src\shared\src\PdfSharp.Crytography\PdfSharp.Cryptography.csproj", "{2BA35CF7-9851-4B19-A170-0B66BE87ACE5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CopyAsLink", "src\tools\src\CopyAsLink\CopyAsLink.csproj", "{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Signatures", "Signatures", "{8CE97B3D-BECA-436D-86EC-E053A99E3A81}"
ProjectSection(SolutionItems) = preProject
docs\Signatures\CertificateCreation.md = docs\Signatures\CertificateCreation.md
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.Shared", "src\foundation\src\shared\src\PdfSharp.Shared\PdfSharp.Shared.csproj", "{8C20115B-AA17-41A7-837D-F5CFD286DFC9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "changes", "changes", "{C39DF31C-2938-4EC3-B50D-52FFA8453866}"
ProjectSection(SolutionItems) = preProject
docs\changes\v6.2.0-log.md = docs\changes\v6.2.0-log.md
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.BarCodes-gdi", "src\foundation\src\PDFsharp\src\PdfSharp.BarCodes-gdi\PdfSharp.BarCodes-gdi.csproj", "{E6E3A838-95C6-462D-84E4-FAFF69DA95C0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CopyAsLink", "src\tools\src\CopyAsLink\CopyAsLink.csproj", "{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.BarCodes-wpf", "src\foundation\src\PDFsharp\src\PdfSharp.BarCodes-wpf\PdfSharp.BarCodes-wpf.csproj", "{4CBBAD35-0D01-4BDD-8BDF-B6022497938E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.Shared", "src\foundation\src\shared\src\PdfSharp.Shared\PdfSharp.Shared.csproj", "{8C20115B-AA17-41A7-837D-F5CFD286DFC9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.BarCodes", "src\foundation\src\PDFsharp\src\PdfSharp.BarCodes\PdfSharp.BarCodes.csproj", "{F4AB506C-AD13-4383-9AF9-48D74085ECC1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MigraDoc", "MigraDoc", "{08BB5B79-D6B5-4EEF-8D37-77FBD0F04AA6}"
ProjectSection(SolutionItems) = preProject
docs\MigraDoc\AboutLineSpacing.md = docs\MigraDoc\AboutLineSpacing.md
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docs-dummy", "docs\docs-dummy.csproj", "{76B94284-402D-4951-8DA4-7FFAF15E6C95}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PdfSharp.Cryptography", "src\foundation\src\PDFsharp\src\PdfSharp.Cryptography\PdfSharp.Cryptography.csproj", "{769ED050-15AF-4EB5-A89F-D7123EE5AA95}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -546,10 +539,6 @@ Global
{1F9EE0B3-4BA1-4CE4-9301-1735732B61B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F9EE0B3-4BA1-4CE4-9301-1735732B61B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F9EE0B3-4BA1-4CE4-9301-1735732B61B6}.Release|Any CPU.Build.0 = Release|Any CPU
{2BA35CF7-9851-4B19-A170-0B66BE87ACE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2BA35CF7-9851-4B19-A170-0B66BE87ACE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BA35CF7-9851-4B19-A170-0B66BE87ACE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2BA35CF7-9851-4B19-A170-0B66BE87ACE5}.Release|Any CPU.Build.0 = Release|Any CPU
{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -558,6 +547,26 @@ Global
{8C20115B-AA17-41A7-837D-F5CFD286DFC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C20115B-AA17-41A7-837D-F5CFD286DFC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C20115B-AA17-41A7-837D-F5CFD286DFC9}.Release|Any CPU.Build.0 = Release|Any CPU
{E6E3A838-95C6-462D-84E4-FAFF69DA95C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E6E3A838-95C6-462D-84E4-FAFF69DA95C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E6E3A838-95C6-462D-84E4-FAFF69DA95C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E6E3A838-95C6-462D-84E4-FAFF69DA95C0}.Release|Any CPU.Build.0 = Release|Any CPU
{4CBBAD35-0D01-4BDD-8BDF-B6022497938E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4CBBAD35-0D01-4BDD-8BDF-B6022497938E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4CBBAD35-0D01-4BDD-8BDF-B6022497938E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CBBAD35-0D01-4BDD-8BDF-B6022497938E}.Release|Any CPU.Build.0 = Release|Any CPU
{F4AB506C-AD13-4383-9AF9-48D74085ECC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F4AB506C-AD13-4383-9AF9-48D74085ECC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F4AB506C-AD13-4383-9AF9-48D74085ECC1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F4AB506C-AD13-4383-9AF9-48D74085ECC1}.Release|Any CPU.Build.0 = Release|Any CPU
{76B94284-402D-4951-8DA4-7FFAF15E6C95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76B94284-402D-4951-8DA4-7FFAF15E6C95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76B94284-402D-4951-8DA4-7FFAF15E6C95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76B94284-402D-4951-8DA4-7FFAF15E6C95}.Release|Any CPU.Build.0 = Release|Any CPU
{769ED050-15AF-4EB5-A89F-D7123EE5AA95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{769ED050-15AF-4EB5-A89F-D7123EE5AA95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{769ED050-15AF-4EB5-A89F-D7123EE5AA95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{769ED050-15AF-4EB5-A89F-D7123EE5AA95}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -658,12 +667,13 @@ Global
{C7CCB288-8372-41AD-9F65-6224CE0D6358} = {DE458BB2-5942-4588-A74A-AE9CA86F284C}
{1F9EE0B3-4BA1-4CE4-9301-1735732B61B6} = {DE458BB2-5942-4588-A74A-AE9CA86F284C}
{D2B0EC1F-CF81-4756-B20C-9BB786A151E0} = {18E75E2F-2A27-408C-BC02-9B68D7F0817F}
{2BA35CF7-9851-4B19-A170-0B66BE87ACE5} = {DE458BB2-5942-4588-A74A-AE9CA86F284C}
{8CE97B3D-BECA-436D-86EC-E053A99E3A81} = {76BA9372-65AE-479C-AEF7-D50E6B486CEF}
{C39DF31C-2938-4EC3-B50D-52FFA8453866} = {76BA9372-65AE-479C-AEF7-D50E6B486CEF}
{60D307AC-D7D6-4AA4-BF9F-DDC6809CBCC7} = {CC13B431-6963-480F-8C21-1F78A220A399}
{8C20115B-AA17-41A7-837D-F5CFD286DFC9} = {DE458BB2-5942-4588-A74A-AE9CA86F284C}
{08BB5B79-D6B5-4EEF-8D37-77FBD0F04AA6} = {76BA9372-65AE-479C-AEF7-D50E6B486CEF}
{E6E3A838-95C6-462D-84E4-FAFF69DA95C0} = {7C753636-7947-46E0-95E0-135EAA7BFEB3}
{4CBBAD35-0D01-4BDD-8BDF-B6022497938E} = {7C753636-7947-46E0-95E0-135EAA7BFEB3}
{F4AB506C-AD13-4383-9AF9-48D74085ECC1} = {7C753636-7947-46E0-95E0-135EAA7BFEB3}
{76B94284-402D-4951-8DA4-7FFAF15E6C95} = {76BA9372-65AE-479C-AEF7-D50E6B486CEF}
{769ED050-15AF-4EB5-A89F-D7123EE5AA95} = {7C753636-7947-46E0-95E0-135EAA7BFEB3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D5FF5562-3C79-434B-B951-B84542D01625}
Expand Down
9 changes: 9 additions & 0 deletions PdfSharp.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AES/@EntryIndexedValue">AES</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AESV/@EntryIndexedValue">AESV</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AL/@EntryIndexedValue">AL</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=BI/@EntryIndexedValue">BI</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=BSD/@EntryIndexedValue">BSD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=CF/@EntryIndexedValue">CF</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=CR/@EntryIndexedValue">CR</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IO/@EntryIndexedValue">IO</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IV/@EntryIndexedValue">IV</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=MD/@EntryIndexedValue">MD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OSX/@EntryIndexedValue">OSX</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SASL/@EntryIndexedValue">SASL</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=TSA/@EntryIndexedValue">TSA</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=URI/@EntryIndexedValue">URI</s:String>
Expand All @@ -17,6 +22,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=B_00E9zier/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Cleanroom/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=clms/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=cmap/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Cmyk/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Codepoints/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=decryptor/@EntryIndexedValue">True</s:Boolean>
Expand All @@ -37,6 +43,8 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=iter/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=lucida/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=mdddl/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Metaclass/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=metaobject/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Migra/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=panose/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=parallelize/@EntryIndexedValue">True</s:Boolean>
Expand All @@ -55,6 +63,7 @@
<s:Boolean x:Key="/Default/UserDictionary/Words/=tabstops/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=tabstop_0027s/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=unfilter/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=UTFR/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=versioning/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=wouldn/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=xgfx/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PDFsharp & MigraDoc 6
# PDFsharp & MigraDoc 6

Version **6.2.0 Preview 1**
Published **2024-08-12**
Version **6.2.0 Preview 2**
Published **2024-12-10**

This is a preview version of the **PDFsharp** project, the main project of PDFsharp & MigraDoc 6 with updates for C# 12 and .NET 6.

Expand All @@ -23,7 +23,8 @@ Assets like bitmaps, fonts, or PDF files are not part of the repository anymore.
You must download them before compiling the solution for the first time.
Use `download-assets.ps1` in the `dev` folder to create `assets` folder required for some unit tests and needed by some projects.

Execute
Execute

```ps
.\dev\download-assets.ps1
```
Expand All @@ -34,7 +35,7 @@ Execute

* You need the latest .NET SDK version installed
* Please note that you need a git repository with at least one commit in order to build the PDFsharp solution.
Without a git repo with at least one commit, you will get an error message from `GitVersion.MsBuild` while building the solution.
Without a git repository with at least one commit, you will get an error message from `GitVersion.MsBuild` while building the solution.
You can set a tag to define a valid version, e.g.: `git tag v6.2.0` to make it build with a specific version number. Without tag, version 0.1.0 will be used.

### Central package management
Expand Down
48 changes: 45 additions & 3 deletions dev/run-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
.PARAMETER RunAllTests
Specifies whether to run even the slow tests, whose execution can be managed via PDFsharpTests environment variable. $False is the default.
.NOTES
Possible test results are:
--------------------------
Expand All @@ -40,15 +41,15 @@
If started in Windows, tests are executed in Windows and WSL:
> .\dev\run-tests.ps1
> .\dev\run-tests.ps1
If started from Windows in WSL, tests are executed in WSL only:
> wsl -e pwsh -c .\dev\run-tests.ps1
> wsl -e pwsh -c .\dev\run-tests.ps1
If started in Linux / WSL, tests are executed in Linux / WSL only:
> pwsh -c ./dev/run-tests.ps1
> pwsh -c ./dev/run-tests.ps1
Changing the script:
--------------------
Expand Down Expand Up @@ -203,6 +204,47 @@ function InitializeScript()
Write-Host "Skipping slow tests of solution."
}
Write-Host

CheckNetRuntimes
}

# Checks the net runtimes for all available environments.
function CheckNetRuntimes() {
# Check net runtime for local machine.
CheckNetRuntime $false

# Check net runtime for hosted WSL, if needed.
if ($script:RunOnHostedWsl) {
CheckNetRuntime $true
}
}

# Checks the net runtime for the local machine or WSL.
function CheckNetRuntime($isWsl)
{
if ($isWsl) {
$runtimes = (wsl -e dotnet --list-runtimes | Out-String) -split "`n"
$wslOrLocal = "WSL"
}
else {
$runtimes = (dotnet --list-runtimes | Out-String) -split "`n"
$wslOrLocal = "the local machine"
}

if ($script:Net6) {
$netMajorVersion = 6;
}
else {
$netMajorVersion = 8;
}

$hasRequiredVersion = ($runtimes | Where-Object { $_.StartsWith("Microsoft.NETCore.App $netMajorVersion.") } | Measure-Object | Select-Object -ExpandProperty Count) -gt 0

if ($hasRequiredVersion -eq $false)
{
Write-Error "The script is configured to run tests for net$netMajorVersion, but the net$netMajorVersion runtime is not installed on $wslOrLocal."
exit
}
}

# Gets the first solution in the current folder. There should be only one.
Expand Down
75 changes: 0 additions & 75 deletions docs/BeforeReleases.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/Chars.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Characters

“” „“ ’ ‘’ ‚‘ »« ›‹ –
· × ² ³ ½ € † …
✔ ✘ ↯ ± − × ÷ ⋅ √ ≠ ≤ ≥ ≡
® © ← ↑ → ↓ ↔ ↕ ∅

# Use of typographic quotation marks

“English” | „German“ | ‘English’ | ‚German‘

Lower left single quotation mark vs comma: ‚ vs ,
The glyph looks different e.g. in Segoe UI.
Loading

0 comments on commit 3af34ac

Please sign in to comment.