Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to support .NET Standard and multi-targeting #68

Closed
wants to merge 294 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
d497fbd
remove old nuspec from sln item
Sep 24, 2017
c113e85
Rename entrypoint for test
Sep 24, 2017
ea90c85
Update sign client settings
Oct 11, 2017
5eb1465
Merge branch 'master' into netstandard
Oct 18, 2017
e55eb13
Update extras
Oct 18, 2017
0db6550
Update extras
Oct 19, 2017
83c93bc
Packaging updates
Dec 3, 2017
febe25f
Merge branch 'master' into netstandard
Feb 10, 2018
c970a00
fix failing test due to utc time
Feb 12, 2018
22fb12f
update signclient version
Feb 12, 2018
932d533
updaet build tools
Feb 12, 2018
30e2756
Fix author info #4
Mar 3, 2018
d323108
merge from master
Apr 9, 2018
7b29d8e
Update build script
Apr 9, 2018
c36aa8f
Use SDK style
Apr 9, 2018
40cb5dc
Rename Main
Apr 9, 2018
4b144a8
add no-restore
Apr 9, 2018
9248714
be explicit about release
Apr 9, 2018
c81b266
Update NuGet packaging info
Apr 10, 2018
f5ea2cd
Versioning (#8)
May 19, 2018
cc9156f
build sln
May 19, 2018
9780166
point to correct directory
May 19, 2018
90ba9ac
remove appveyor file
May 19, 2018
e28885d
merge master into netstandard
May 19, 2018
5a698b0
Update after merge
May 19, 2018
5081423
remove legacy PCL
May 19, 2018
419ee88
use dotnet build
May 19, 2018
065fd3b
fix pack task
May 19, 2018
30e8483
fix trigger
May 21, 2018
4acec92
Merge branch 'master' into netstandard
Jun 12, 2018
f0adab6
switch to Microsoft SourceLink
Jun 12, 2018
9dc85b8
ensure correct assm version
Jun 12, 2018
10a0c8c
stamp full commit hash in assembly
Jun 12, 2018
a3ffe97
add metadata attrib for net4
Jun 12, 2018
6566691
remove unused define
Jun 12, 2018
2716115
Merge from master
Jul 20, 2018
ad29383
Fix Synchronized for modern frameworks
Jul 20, 2018
51848a1
Update build scripts to add code coverage
Jul 20, 2018
e717fc1
parallelize tests at fixture level
Jul 20, 2018
ecb0901
merge from master
Aug 31, 2018
cd6dd35
update coverage setting
Aug 31, 2018
0ca94e7
Set 1.8.3
Aug 31, 2018
c448b6a
Use latest tet sdk
Aug 31, 2018
c862608
Add version override logic
Aug 31, 2018
dce81fe
Set correct ver for three part builds
Aug 31, 2018
8b62c89
Ensure simple ver
Aug 31, 2018
b964d44
consolidate files
Sep 13, 2018
32ea5c7
Update and rename .azure-pipelines.yml to azure-pipelines.yml
Sep 15, 2018
fb41b9f
fix filter
Sep 29, 2018
22dcb7c
merge from master
Sep 30, 2018
14a576b
Rename old main
Sep 30, 2018
dc3291a
Rewrite Synchronized in terms of locks as netstandard <2.0 doesn't su…
Sep 30, 2018
fbd5450
rename entrypoint
Sep 30, 2018
3350bb3
merge from master
Oct 6, 2018
d311746
merge from master
Oct 16, 2018
b249a50
merge from master
Oct 17, 2018
8d33ba3
merge from master
Oct 22, 2018
66cb092
Merge branch 'master' into netstandard
Oct 25, 2018
c953f3b
merge from master
Nov 6, 2018
e4348fc
1.8.4
Nov 6, 2018
bc28177
fixup pipeline
Nov 6, 2018
c5fc317
Merge branch 'master' into netstandard
Jan 16, 2019
dbb7351
ifdef's to support PORTABLE netstandard1/1.3 surface area
Jan 16, 2019
ba3b6a8
merge from master
Jan 25, 2019
b0d14de
Remove old nunit artifact
Jan 25, 2019
e4cd0bd
merge from master
Feb 7, 2019
2b5d6ed
Fix merge bug
Feb 8, 2019
f4d21d8
Prep 1.8.5
Feb 8, 2019
7c84121
Fix invalid cast in test
Feb 8, 2019
b4b7663
Merge branch 'master' into netstandard
Mar 13, 2019
70425a6
Merge branch 'master' into netstandard
Apr 14, 2019
8bc4094
Merge branch 'master' into netstandard
May 28, 2019
6d3a653
Update deps
May 28, 2019
dd2befe
Update warnings
May 28, 2019
8281c41
Merge branch 'master' into netstandard
May 31, 2019
99203c7
merge from master
Jun 10, 2019
34e9c6a
Merge branch 'master' into netstandard
Jun 17, 2019
c72b81c
Rename main
Jun 21, 2019
fa5d0cc
merge from master
Aug 1, 2019
5e65cc9
Remove netstandard1 targets as they broke the build with missing Arra…
Aug 6, 2019
04505d3
Bump to .NET Core 2.1 as that's the earliest supported
Aug 6, 2019
4a2d530
Bump deps
Aug 6, 2019
5ddb175
Use coverlet code coverage
Aug 6, 2019
4a401ed
only collect coverage on .net core
Aug 6, 2019
e5d0368
single hit to true
Aug 7, 2019
9297585
merge master into netstandard
Aug 22, 2019
29e2aa5
Update deps
Aug 22, 2019
910b843
Restore original exception type as it is in netstandard2
Aug 22, 2019
bd17371
Restore original method as it's in netcore2.1
Aug 22, 2019
e260258
Restore original code as it's in netcore 2.1 now
Aug 22, 2019
a109f90
Fix formatting
Aug 22, 2019
d948f16
More reversions for netcore 2.1
Aug 22, 2019
5747ee9
Revert all Main -> MainOld renames by specifying startup object expli…
Aug 22, 2019
3d85eea
Fix parsing of test messages due to using arg exception with paramete…
Aug 22, 2019
59cbaee
Remove unneeded ifdef's
Aug 22, 2019
b365dc5
Merge branch 'master' into netstandard
Sep 21, 2019
3069c46
Build script updates
Nov 3, 2019
ba47c16
Build script updates
Nov 3, 2019
702e14c
Bump NerdBank.GitVersioning from 3.0.26 to 3.0.28
dependabot-preview[bot] Nov 28, 2019
982c401
Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.4.0
dependabot-preview[bot] Nov 28, 2019
8a97a3c
Bump NUnit3TestAdapter from 3.14.0 to 3.15.1
dependabot-preview[bot] Nov 28, 2019
957e7c2
Merge pull request #17 from novotnyllc/dependabot/nuget/NerdBank.GitV…
Nov 28, 2019
284c24a
Merge pull request #20 from novotnyllc/dependabot/nuget/Microsoft.NET…
Nov 28, 2019
8f7e556
Merge pull request #21 from novotnyllc/dependabot/nuget/NUnit3TestAda…
Nov 28, 2019
c37d0fa
Bump Microsoft.SourceLink.GitHub from 1.0.0-beta2-19367-01 to 1.0.0
dependabot-preview[bot] Nov 28, 2019
b8b9e5d
Bump coverlet.collector from 1.0.1 to 1.1.0
dependabot-preview[bot] Nov 28, 2019
99fb910
Merge pull request #18 from novotnyllc/dependabot/nuget/Microsoft.Sou…
Nov 28, 2019
163f40d
Merge pull request #19 from novotnyllc/dependabot/nuget/coverlet.coll…
Nov 28, 2019
c299880
Bump coverlet.collector from 1.1.0 to 1.2.0
dependabot-preview[bot] Jan 6, 2020
c5338c9
merge from master
Feb 24, 2020
d2ccf40
set version
Feb 24, 2020
f30a336
Merge pull request #23 from novotnyllc/dependabot/nuget/coverlet.coll…
Feb 24, 2020
fde0454
Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
dependabot-preview[bot] Feb 24, 2020
fe6a34a
Bump NUnit3TestAdapter from 3.15.1 to 3.16.1
dependabot-preview[bot] Feb 24, 2020
c0f3b04
use latest sdk to build
Feb 24, 2020
a9196bf
Merge pull request #27 from novotnyllc/dependabot/nuget/NUnit3TestAda…
Feb 24, 2020
9c1d2ff
Merge pull request #28 from novotnyllc/dependabot/nuget/Microsoft.NET…
Feb 24, 2020
086e981
Merge branch 'master' into netstandard
clairernovotny Mar 21, 2020
e72e3a8
enable deterministic builds
clairernovotny Mar 29, 2020
04cb7ed
Bump coverlet.collector from 1.2.0 to 1.2.1
dependabot-preview[bot] Apr 3, 2020
969d210
Merge pull request #32 from novotnyllc/dependabot/nuget/coverlet.coll…
dependabot-preview[bot] Apr 3, 2020
a4e671a
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.0
dependabot-preview[bot] Apr 22, 2020
dfaa0f7
Merge pull request #33 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Apr 22, 2020
202993d
Bump Microsoft.NET.Test.Sdk from 16.6.0 to 16.6.1
dependabot-preview[bot] Apr 27, 2020
d904dfb
Merge pull request #34 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Apr 27, 2020
8c21d4a
Bump NerdBank.GitVersioning from 3.1.74 to 3.1.91
dependabot-preview[bot] Apr 29, 2020
8ba6f78
Merge pull request #35 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Apr 29, 2020
382fff5
Merge branch 'master' into netstandard
clairernovotny May 25, 2020
fd2fdbf
Fix url in signature
clairernovotny May 25, 2020
7ff6e52
Bump coverlet.collector from 1.2.1 to 1.3.0
dependabot-preview[bot] Jun 1, 2020
4ac511d
Bump NerdBank.GitVersioning from 3.1.91 to 3.2.31
dependabot-preview[bot] Jul 24, 2020
1e70b91
Merge branch 'master' into netstandard
clairernovotny Jul 30, 2020
73f0538
Use .net core app3.1 for tests
clairernovotny Jul 30, 2020
25b6e3a
Merge pull request #36 from novotnyllc/dependabot/nuget/coverlet.coll…
clairernovotny Jul 30, 2020
c8d2b6e
Merge pull request #39 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny Jul 30, 2020
1dfc196
Bump NUnit3TestAdapter from 3.16.1 to 3.17.0
dependabot-preview[bot] Jul 30, 2020
1a1696b
Merge pull request #38 from novotnyllc/dependabot/nuget/NUnit3TestAda…
clairernovotny Jul 30, 2020
8b33fb5
trace back to test case
clairernovotny Jul 30, 2020
b4442d7
Ensure AllowUnsafe is set to false before test runs. Set to true in t…
clairernovotny Jul 30, 2020
561f0f4
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
dependabot-preview[bot] Aug 7, 2020
b26c8e8
Merge pull request #40 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Aug 7, 2020
d9b69d1
Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1
dependabot-preview[bot] Aug 21, 2020
112c5b0
Merge pull request #41 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Aug 21, 2020
617c00c
Merge branch 'master' into netstandard
clairernovotny Oct 5, 2020
8b5efff
Remvoe extra line
clairernovotny Oct 5, 2020
cd7b173
Set version
clairernovotny Oct 5, 2020
8769ece
Fix release notes link
clairernovotny Oct 5, 2020
ab857c5
Bump NerdBank.GitVersioning from 3.2.31 to 3.3.37
dependabot-preview[bot] Oct 7, 2020
a1f2f47
Merge pull request #42 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Oct 7, 2020
611fe7a
fix code coverage
clairernovotny Oct 26, 2020
59af30e
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
dependabot-preview[bot] Nov 9, 2020
6882250
Merge pull request #43 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Nov 9, 2020
1d5c1b2
Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
dependabot-preview[bot] Dec 3, 2020
9c8ab17
Merge pull request #44 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Dec 3, 2020
581230c
Merge branch 'master' into netstandard
clairernovotny Dec 17, 2020
a8c3afc
bump ver
clairernovotny Dec 17, 2020
de4a79c
Bump NUnit from 3.12.0 to 3.13.0
dependabot-preview[bot] Jan 8, 2021
9d66e20
Merge pull request #47 from novotnyllc/dependabot/nuget/NUnit-3.13.0
dependabot-preview[bot] Jan 8, 2021
f8248cb
Bump NUnit from 3.13.0 to 3.13.1
dependabot-preview[bot] Feb 1, 2021
b80c904
Merge pull request #51 from novotnyllc/dependabot/nuget/NUnit-3.13.1
dependabot-preview[bot] Feb 1, 2021
cc02028
Bump coverlet.collector from 1.3.0 to 3.0.2
dependabot-preview[bot] Feb 1, 2021
428ed11
Merge pull request #50 from novotnyllc/dependabot/nuget/coverlet.coll…
clairernovotny Feb 1, 2021
e9d7b87
Remove as no longer needed by coverlet
clairernovotny Feb 1, 2021
5928123
Merge branch 'master' into netstandard
clairernovotny Feb 19, 2021
796e404
bump ver
clairernovotny Feb 19, 2021
71c7f65
Bump coverlet.collector from 3.0.2 to 3.0.3
dependabot-preview[bot] Feb 22, 2021
b8dfddd
Merge pull request #52 from novotnyllc/dependabot/nuget/coverlet.coll…
dependabot-preview[bot] Feb 22, 2021
930cba9
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
dependabot-preview[bot] Feb 24, 2021
21e3bed
Merge pull request #53 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Feb 24, 2021
9db34e7
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
dependabot-preview[bot] Apr 2, 2021
7a3d5ac
Merge pull request #55 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] Apr 2, 2021
ba4fbdb
Bump NUnit from 3.13.1 to 3.13.2
dependabot-preview[bot] Apr 28, 2021
e233d90
Merge pull request #58 from novotnyllc/dependabot/nuget/NUnit-3.13.2
dependabot-preview[bot] Apr 28, 2021
11fec0b
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] Apr 29, 2021
d5e5124
Merge branch 'master' into netstandard
clairernovotny May 23, 2021
511205f
Bump NerdBank.GitVersioning from 3.3.37 to 3.4.203
dependabot-preview[bot] May 25, 2021
3eaf1c4
Merge branch 'master' into netstandard
clairernovotny May 25, 2021
c23e119
Merge pull request #60 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny May 25, 2021
a8e5686
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
dependabot-preview[bot] May 26, 2021
0165be2
Merge pull request #61 from novotnyllc/dependabot/nuget/Microsoft.NET…
dependabot-preview[bot] May 26, 2021
8f9d1ac
Bump NerdBank.GitVersioning from 3.4.203 to 3.4.205
dependabot-preview[bot] Jun 1, 2021
0905c9b
Merge pull request #62 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Jun 1, 2021
55be1f3
Bump NerdBank.GitVersioning from 3.4.205 to 3.4.216
dependabot-preview[bot] Jun 14, 2021
df12e3c
Merge pull request #64 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Jun 14, 2021
325e644
Bump NerdBank.GitVersioning from 3.4.216 to 3.4.220
dependabot-preview[bot] Jun 28, 2021
d7bc7bf
Merge pull request #65 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Jun 28, 2021
f471d5f
Bump coverlet.collector from 3.0.3 to 3.1.0
dependabot-preview[bot] Jul 20, 2021
4084df0
Merge pull request #66 from novotnyllc/dependabot/nuget/coverlet.coll…
dependabot-preview[bot] Jul 20, 2021
d17656d
Bump NUnit3TestAdapter from 3.17.0 to 4.0.0
dependabot-preview[bot] Jul 20, 2021
83fcf03
Bump NerdBank.GitVersioning from 3.4.220 to 3.4.228
dependabot-preview[bot] Jul 28, 2021
f57cf60
Merge pull request #67 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Jul 28, 2021
5f107e6
Bump NerdBank.GitVersioning from 3.4.228 to 3.4.231
dependabot-preview[bot] Jul 29, 2021
55456f2
Merge pull request #68 from novotnyllc/dependabot/nuget/NerdBank.GitV…
dependabot-preview[bot] Jul 29, 2021
676df27
Merge pull request #63 from novotnyllc/dependabot/nuget/NUnit3TestAda…
clairernovotny Aug 2, 2021
9e1125f
Merge branch 'master' into netstandard
clairernovotny Aug 2, 2021
e2ab3e9
Add NUnit3 ignore reason
clairernovotny Aug 2, 2021
28f662e
Update dependabot.yml
clairernovotny Aug 23, 2021
b48f55c
Merge pull request #59 from novotnyllc/dependabot/add-v2-config-file
clairernovotny Aug 23, 2021
c916fdc
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
dependabot[bot] Aug 23, 2021
c0939b9
Merge pull request #71 from novotnyllc/dependabot/nuget/Microsoft.NET…
clairernovotny Aug 23, 2021
b7e06d2
Fix test - DateTime should be using UTC
clairernovotny Aug 23, 2021
6f6f044
Use .NET 6 SDK and run tests on .net 6
clairernovotny Aug 23, 2021
d7762ee
Merge branch 'changes-merged-from-master' into netstandard
clairernovotny Aug 23, 2021
5eba2ee
fix yaml
clairernovotny Aug 24, 2021
67f3eec
Bump NerdBank.GitVersioning from 3.4.231 to 3.4.240
dependabot[bot] Sep 23, 2021
650c4c7
Merge branch 'master' into netstandard
clairernovotny Sep 24, 2021
8c90cbc
Merge branch 'master' into netstandard
clairernovotny Oct 15, 2021
c67b85d
NUnit 3 parameter
clairernovotny Oct 15, 2021
3a02c29
Merge pull request #72 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny Oct 15, 2021
0abe968
Merge branch 'master' into netstandard
clairernovotny Oct 19, 2021
076a6d1
NUnit 3 reason
clairernovotny Oct 19, 2021
5297fed
Remove warning
clairernovotny Oct 19, 2021
0f827cc
Bump to 1.9.0
clairernovotny Oct 19, 2021
35c95db
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
dependabot[bot] Oct 27, 2021
5976bd4
Bump NUnit3TestAdapter from 4.0.0 to 4.1.0
dependabot[bot] Nov 8, 2021
ecd39c4
Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1
dependabot[bot] Nov 11, 2021
517938f
Merge pull request #78 from novotnyllc/dependabot/nuget/Microsoft.Sou…
clairernovotny Nov 11, 2021
c45d0c0
Merge pull request #76 from novotnyllc/dependabot/nuget/NUnit3TestAda…
clairernovotny Nov 11, 2021
7539bd5
Merge pull request #75 from novotnyllc/dependabot/nuget/Microsoft.NET…
clairernovotny Nov 11, 2021
82fc712
Bump NerdBank.GitVersioning from 3.4.240 to 3.4.244
dependabot[bot] Nov 11, 2021
2131906
Merge pull request #74 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny Nov 11, 2021
52d3ca7
Merge branch 'master' into netstandard
clairernovotny Nov 16, 2021
38b8641
Bump NUnit3TestAdapter from 4.1.0 to 4.2.0
dependabot[bot] Dec 28, 2021
f8f6905
Merge branch 'master' into netstandard
clairernovotny Jan 6, 2022
5174ab3
Add targeting pack for net4
clairernovotny Jan 6, 2022
60196c7
Fix test with code from upstream
clairernovotny Jan 6, 2022
20253a5
Bump NerdBank.GitVersioning from 3.4.244 to 3.4.255
dependabot[bot] Jan 7, 2022
403ecb2
Merge pull request #79 from novotnyllc/dependabot/nuget/NUnit3TestAda…
clairernovotny Jan 12, 2022
84fe340
Merge pull request #80 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny Jan 12, 2022
e99031e
Bump NUnit3TestAdapter from 4.2.0 to 4.2.1
dependabot[bot] Jan 21, 2022
ae89d82
Merge pull request #83 from novotnyllc/dependabot/nuget/NUnit3TestAda…
clairernovotny Feb 1, 2022
54b6236
Bump coverlet.collector from 3.1.0 to 3.1.1
dependabot[bot] Feb 1, 2022
d2a44be
Merge pull request #84 from novotnyllc/dependabot/nuget/coverlet.coll…
clairernovotny Feb 1, 2022
1c1b015
Merge branch 'master' into netstandard
clairernovotny Feb 1, 2022
dbec33d
Bump coverlet.collector from 3.1.1 to 3.1.2
dependabot[bot] Feb 7, 2022
e5ca67f
Merge pull request #85 from novotnyllc/dependabot/nuget/coverlet.coll…
clairernovotny Feb 7, 2022
7f69219
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
dependabot[bot] Feb 16, 2022
a5a400e
Merge pull request #86 from novotnyllc/dependabot/nuget/Microsoft.NET…
clairernovotny Mar 29, 2022
8d97790
Bump NUnit from 3.13.2 to 3.13.3
dependabot[bot] Mar 29, 2022
0123da0
Merge pull request #87 from novotnyllc/dependabot/nuget/NUnit-3.13.3
clairernovotny Mar 29, 2022
d26bf4d
Merge branch 'master' into netstandard
clairernovotny Mar 29, 2022
0ab73f2
Merge branch 'master' into netstandard
clairernovotny Sep 14, 2022
48c82e9
Merge branch 'master' into netstandard
clairernovotny Sep 14, 2022
b040716
Updates to match main
clairernovotny Sep 14, 2022
9d8021e
Bump NerdBank.GitVersioning from 3.4.255 to 3.5.109
dependabot[bot] Sep 14, 2022
02848a4
Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.3.1
dependabot[bot] Sep 14, 2022
0436e10
Merge pull request #98 from novotnyllc/dependabot/nuget/Microsoft.NET…
clairernovotny Sep 14, 2022
35a3e96
Merge pull request #94 from novotnyllc/dependabot/nuget/NerdBank.GitV…
clairernovotny Sep 14, 2022
8552a51
formatting and packaging updates
clairernovotny Sep 14, 2022
7b21218
Remove custom logic for matching build versions
clairernovotny Sep 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
283 changes: 283 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
# EditorConfig is awesome:http://EditorConfig.org
# From https://raw.githubusercontent.com/dotnet/roslyn/master/.editorconfig

# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
trim_trailing_whitespace = true
# (Please don't specify an indent_size here; that has too many unintended consequences.)

# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2

# Yml/Yaml files
[*.{yaml,yml}]
indent_size = 2

# Powershell files
[*.ps1]
indent_size = 2

# JSON files
[*.json]
indent_size = 2

# Shell scripts
[*.sh]
end_of_line = lf

[*.{cmd,bat}]
end_of_line = crlf

# Dotnet code style settings:
[*.{cs,vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
# Put a blank line between System.* and Microsoft.*
dotnet_separate_import_directive_groups = true

# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# Prefer read-only on fields
dotnet_style_readonly_field = true:warning

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = false
dotnet_style_prefer_conditional_expression_over_assignment = false
dotnet_style_prefer_auto_properties = true:suggestion

# Parentheses
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent

# Accessibility modifiers
dotnet_style_require_accessibility_modifiers = always:suggestion


# Naming Rules

# Interfaces start with an I and are PascalCased
dotnet_naming_rule.interfaces_must_be_pascal_cased_and_prefixed_with_I.symbols = interface_symbols
dotnet_naming_rule.interfaces_must_be_pascal_cased_and_prefixed_with_i.style = pascal_case_and_prefix_with_I_style
dotnet_naming_rule.interfaces_must_be_pascal_cased_and_prefixed_with_i.severity = warning

# External members are PascalCased
dotnet_naming_rule.externally_visible_members_must_be_pascal_cased.symbols = externally_visible_symbols
dotnet_naming_rule.externally_visible_members_must_be_pascal_cased.style = pascal_case_style
dotnet_naming_rule.externally_visible_members_must_be_pascal_cased.severity = warning

# Parameters are camelCased
dotnet_naming_rule.parameters_must_be_camel_cased.symbols = parameter_symbols
dotnet_naming_rule.parameters_must_be_camel_cased.style = camel_case_style
dotnet_naming_rule.parameters_must_be_camel_cased.severity = warning

# Constants are PascalCased
dotnet_naming_rule.constants_must_be_pascal_cased.symbols = constant_symbols
dotnet_naming_rule.constants_must_be_pascal_cased.style = pascal_case_style
dotnet_naming_rule.constants_must_be_pascal_cased.severity = warning

# Uncomment this group and comment out the next group if you prefer s_ prefixes for static fields

# Private static fields are prefixed with s_ and are camelCased like s_myStatic
#dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.symbols = private_static_field_symbols
#dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.style = camel_case_and_prefix_with_s_underscore_style
#dotnet_naming_rule.private_static_fields_must_be_camel_cased_and_prefixed_with_s_underscore.severity = warning

# Static readonly fields are PascalCased
dotnet_naming_rule.static_readonly_fields_should_be_pascal_case.symbols = private_static_readonly_field_symbols
dotnet_naming_rule.static_readonly_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_rule.static_readonly_fields_should_be_pascal_case.severity = warning

# Comment this group and uncomment out the next group if you don't want _ prefixed fields.

# Private instance fields are camelCased with an _ like _myField
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.symbols = private_field_symbols
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.style = camel_case_and_prefix_with_underscore_style
dotnet_naming_rule.private_instance_fields_must_be_camel_cased_and_prefixed_with_underscore.severity = warning

# Private instance fields are camelCased
#dotnet_naming_rule.private_instance_fields_must_be_camel_cased.symbols = private_field_symbols
#dotnet_naming_rule.private_instance_fields_must_be_camel_cased.style = camel_case_style
#dotnet_naming_rule.private_instance_fields_must_be_camel_cased.severity = warning

# Symbols
dotnet_naming_symbols.externally_visible_symbols.applicable_kinds = class,struct,interface,enum,property,method,field,event,delegate
dotnet_naming_symbols.externally_visible_symbols.applicable_accessibilities = public,internal,friend,protected,protected_internal,protected_friend,private_protected

dotnet_naming_symbols.interface_symbols.applicable_kinds = interface
dotnet_naming_symbols.interface_symbols.applicable_accessibilities = *

dotnet_naming_symbols.parameter_symbols.applicable_kinds = parameter
dotnet_naming_symbols.parameter_symbols.applicable_accessibilities = *

dotnet_naming_symbols.constant_symbols.applicable_kinds = field
dotnet_naming_symbols.constant_symbols.required_modifiers = const
dotnet_naming_symbols.constant_symbols.applicable_accessibilities = *

dotnet_naming_symbols.private_static_field_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_field_symbols.required_modifiers = static,shared
dotnet_naming_symbols.private_static_field_symbols.applicable_accessibilities = private

dotnet_naming_symbols.private_static_readonly_field_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_field_symbols.required_modifiers = static,shared,readonly
dotnet_naming_symbols.private_static_readonly_field_symbols.applicable_accessibilities = private

dotnet_naming_symbols.private_field_symbols.applicable_kinds = field
dotnet_naming_symbols.private_field_symbols.applicable_accessibilities = private

# Styles
dotnet_naming_style.camel_case_style.capitalization = camel_case

dotnet_naming_style.pascal_case_style.capitalization = pascal_case

dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.required_prefix = s_
dotnet_naming_style.camel_case_and_prefix_with_s_underscore_style.capitalization = camel_case

dotnet_naming_style.camel_case_and_prefix_with_underscore_style.required_prefix = _
dotnet_naming_style.camel_case_and_prefix_with_underscore_style.capitalization = camel_case

dotnet_naming_style.pascal_case_and_prefix_with_I_style.required_prefix = I
dotnet_naming_style.pascal_case_and_prefix_with_I_style.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
end_of_line = crlf


# CSharp code style settings:
[*.cs]
# Modifier order
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion

# Code block
csharp_prefer_braces = false:none

# Indentation preferences
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion

# Code style defaults
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true

# Prefer method-like constructs to have a block body
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none

# Expression
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion

# Pattern matching
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion

# Null checking preferences
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Newline settings
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

# Space preferences
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = do_not_ignore
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false

# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = none

# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = none

# CA1031: Do not catch general exception types
dotnet_diagnostic.CA1031.severity = none

# CA1812: Avoid uninstantiated internal classes
dotnet_diagnostic.CA1812.severity = silent

# CA1816: Dispose methods should call SuppressFinalize
dotnet_diagnostic.CA1816.severity = silent

# CA1054: Uri parameters should not be strings
dotnet_diagnostic.CA1054.severity = none
dotnet_diagnostic.CA1056.severity = none
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_style_namespace_declarations = block_scoped:silent
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _Resharper*/
.idea/
.store/
.vs/
.store/

*.nuget.props
*.nuget.targets
Expand Down
6 changes: 4 additions & 2 deletions BouncyCastle.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.32602.291
# Visual Studio Version 17
VisualStudioVersion = 17.4.32804.182
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F8F54480-386E-4CE7-8C0E-537922E2A634}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitlab-ci.yml = .gitlab-ci.yml
azure-pipelines.yml = azure-pipelines.yml
README.md = README.md
version.json = version.json
EndProjectSection
Expand Down
16 changes: 16 additions & 0 deletions CodeCoverage.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- File name extension must be .runsettings -->
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="XPlat code coverage">
<Configuration>
<Format>cobertura</Format>
<Exclude>[xunit.*]*,[*Tests]*</Exclude> <!-- [Assembly-Filter]Type-Filter -->
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute</ExcludeByAttribute>
<SingleHit>true</SingleHit>
</Configuration>
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
</RunSettings>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The Bouncy Castle Crypto Package For C Sharp
# The Bouncy Castle Crypto Package For C\#

The Bouncy Castle Crypto package is a C\# implementation of cryptographic algorithms and protocols, it was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at [https://www.bouncycastle.org](https://www.bouncycastle.org). In addition to providing basic cryptography algorithms, the package also provides support for CMS, TSP, X.509 certificate generation and a variety of other standards such as OpenPGP.

Expand Down
Loading